Skip to content

Commit

Permalink
Add 3157100-E model to Centralite thermostat (home-assistant#61073)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga authored Dec 6, 2021
1 parent ecdb18e commit 4e9fd56
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/zha/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def _rm_rs_action(self) -> str | None:
channel_names=CHANNEL_THERMOSTAT,
aux_channels=CHANNEL_FAN,
manufacturers="Centralite",
models="3157100",
models={"3157100", "3157100-E"},
stop_on_match=True,
)
class CentralitePearl(ZenWithinThermostat):
Expand Down
8 changes: 8 additions & 0 deletions homeassistant/components/zha/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
from .core.const import (
CHANNEL_ANALOG_INPUT,
CHANNEL_ELECTRICAL_MEASUREMENT,
CHANNEL_FAN,
CHANNEL_HUMIDITY,
CHANNEL_ILLUMINANCE,
CHANNEL_LEAF_WETNESS,
Expand Down Expand Up @@ -636,6 +637,13 @@ def async_set_state(self, *args, **kwargs) -> None:
self.async_write_ha_state()


@MULTI_MATCH(
channel_names=CHANNEL_THERMOSTAT,
aux_channels=CHANNEL_FAN,
manufacturers="Centralite",
models={"3157100", "3157100-E"},
stop_on_match=True,
)
@MULTI_MATCH(
channel_names=CHANNEL_THERMOSTAT,
manufacturers="Zen Within",
Expand Down

0 comments on commit 4e9fd56

Please sign in to comment.