Skip to content

Commit 151d165

Browse files
authored
docs: sgready modes (#793)
1 parent 46e674f commit 151d165

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

docs/devices/heating.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ chargers:
8888
setmode:
8989
source: switch
9090
switch:
91-
- case: 1 # normal
91+
- case: 1 # dimm (not supported, yet)
92+
set:
93+
source: error
94+
error: ErrNotAvailable
95+
- case: 2 # normal
9296
set:
9397
# Hier wird der Funktionsaufruf eingefügt, der die Heizung in den Normalbetrieb setzt.
9498
# Dafür können alle üblichen Plugins verwendet werden.
@@ -100,7 +104,7 @@ chargers:
100104
type: template
101105
template: shelly # Boost-Kontakt der Wärmepumpe
102106
host: 192.168.0.101
103-
- case: 2 # boost
107+
- case: 3 # boost
104108
set:
105109
# Hier wird der Funktionsaufruf eingefügt, der die Heizung in den Boostbetrieb setzt.
106110
source: const
@@ -111,19 +115,15 @@ chargers:
111115
type: template
112116
template: shelly # Boost-Kontakt der Wärmepumpe
113117
host: 192.168.0.101
114-
- case: 3 # dimm (not supported, yet)
115-
set:
116-
source: error
117-
error: ErrNotAvailable
118118
getmode:
119119
# hier wird der Funktionsaufruf eingefügt, der den Status der Heizung zurückmeldet:
120-
# 1 für Normalbetrieb
121-
# 2 für Boostbetrieb
122-
# 3 für reduzierte Leistung
120+
# 1 für reduzierte Leistung
121+
# 2 für Normalbetrieb
122+
# 3 für Boostbetrieb
123123
source: calc
124124
add:
125125
- source: const
126-
value: 1
126+
value: 2
127127
- source: charger
128128
config:
129129
type: template

i18n/en/docusaurus-plugin-content-docs/current/devices/heating.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ chargers:
8383
setmode:
8484
source: switch
8585
switch:
86-
- case: 1 # normal
86+
- case: 1 # dimm (not supported, yet)
87+
set:
88+
source: error
89+
error: ErrNotAvailable
90+
- case: 2 # normal
8791
set:
8892
source: const
8993
value: false
@@ -95,9 +99,9 @@ chargers:
9599
type: template
96100
template: shelly # Boost contact of the heat pump
97101
host: 192.168.0.101
98-
- case: 2 # boost
99-
# Add the function here to set the heatpump in boost mode.
102+
- case: 3 # boost
100103
set:
104+
# Add the function here to set the heatpump in boost mode.
101105
source: const
102106
value: true
103107
set:
@@ -106,19 +110,15 @@ chargers:
106110
type: template
107111
template: shelly # Boost contact of the heat pump
108112
host: 192.168.0.101
109-
- case: 3 # dimm (not supported, yet)
110-
set:
111-
source: error
112-
error: ErrNotAvailable
113113
getmode:
114114
# Add function here to get the current mode of the heatpump, return
115-
# 1 for normal operation
116-
# 2 for boost mode
117-
# 3 for limited operation mode
115+
# 1 for reduced operation
116+
# 2 for normal operation
117+
# 3 for boost operation
118118
source: calc
119119
add:
120120
- source: const
121-
value: 1
121+
value: 2
122122
- source: charger
123123
config:
124124
type: template

0 commit comments

Comments
 (0)