[plugwiseha] Add and enhance channels (#12349)

* Add two-channels, fix scene and docs

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
lsiepel
2022-02-23 23:52:07 +01:00
committed by GitHub
parent 2d54347b65
commit ea9d77ff71
12 changed files with 197 additions and 65 deletions

View File

@@ -49,6 +49,8 @@ channel-type.plugwiseha.boilerTemperature.label = Boiler Temperature
channel-type.plugwiseha.boilerTemperature.description = Gets the temperature of this boiler
channel-type.plugwiseha.chState.label = Central Heating Active
channel-type.plugwiseha.chState.description = Is the boiler active for central heating, On or OFF
channel-type.plugwiseha.coolingAllowed.label = Cooling Allowed
channel-type.plugwiseha.coolingAllowed.description = Switch the cooling allowed of a zone ON or OFF
channel-type.plugwiseha.coolingState.label = Cooling State
channel-type.plugwiseha.coolingState.description = Is the boiler active for cooling, On or OFF
channel-type.plugwiseha.dhwComfortMode.label = Domestic Hot Water Comfort Mode
@@ -83,7 +85,17 @@ channel-type.plugwiseha.powerUsage.label = Power Usage
channel-type.plugwiseha.preHeat.label = Preheat
channel-type.plugwiseha.preHeat.description = Switch the preheating of a zone ON or OFF
channel-type.plugwiseha.presetScene.label = Preset Scene
channel-type.plugwiseha.presetScene.description = Gets the preset scene of the zone
channel-type.plugwiseha.presetScene.description = Gets or sets the preset scene of the zone
channel-type.plugwiseha.presetScene.state.option.home = Home
channel-type.plugwiseha.presetScene.state.option.asleep = A Sleep
channel-type.plugwiseha.presetScene.state.option.away = Away
channel-type.plugwiseha.presetScene.state.option.vacation = Vacation
channel-type.plugwiseha.presetScene.state.option.no_frost = No Frost
channel-type.plugwiseha.regulationControl.label = Regulation Control
channel-type.plugwiseha.regulationControl.description = Switch the regulation control of a zone to Active, Passive or Off
channel-type.plugwiseha.regulationControl.state.option.active = Active
channel-type.plugwiseha.regulationControl.state.option.passive = Passive
channel-type.plugwiseha.regulationControl.state.option.off = Off
channel-type.plugwiseha.setpointTemperature.label = Setpoint Temperature
channel-type.plugwiseha.setpointTemperature.description = Gets or sets the set point of this zone
channel-type.plugwiseha.temperature.label = Zone Temperature

View File

@@ -35,6 +35,27 @@
<category>switch</category>
</channel-type>
<channel-type id="coolingAllowed">
<item-type>Switch</item-type>
<label>Cooling Allowed</label>
<description>Switch the cooling allowed of a zone ON or OFF</description>
<category>switch</category>
</channel-type>
<channel-type id="regulationControl">
<item-type>String</item-type>
<label>Regulation Control</label>
<description>Switch the regulation control of a zone to Active, Passive or Off</description>
<category>switch</category>
<state>
<options>
<option value="active">Active</option>
<option value="passive">Passive</option>
<option value="off">Off</option>
</options>
</state>
</channel-type>
<channel-type id="power">
<item-type>Switch</item-type>
<label>Power</label>
@@ -178,9 +199,17 @@
<channel-type id="presetScene">
<item-type>String</item-type>
<label>Preset Scene</label>
<description>Gets the preset scene of the zone</description>
<description>Gets or sets the preset scene of the zone</description>
<category>heating</category>
<state readOnly="true"/>
<state>
<options>
<option value="home">Home</option>
<option value="asleep">A Sleep</option>
<option value="away">Away</option>
<option value="vacation">Vacation</option>
<option value="no_frost">No Frost</option>
</options>
</state>
</channel-type>
<channel-type id="valvePosition">

View File

@@ -58,6 +58,8 @@
<channel id="temperature" typeId="temperature"/>
<channel id="presetScene" typeId="presetScene"/>
<channel id="preHeat" typeId="preHeat"/>
<channel id="coolingAllowed" typeId="coolingAllowed"/>
<channel id="regulationControl" typeId="regulationControl"/>
</channels>
<representation-property>id</representation-property>