Add 3157100-E model to Centralite thermostat (#61073)
This commit is contained in:
parent
ecdb18eb0a
commit
4e9fd56b8c
2 changed files with 9 additions and 1 deletions
|
@ -599,7 +599,7 @@ class ZenWithinThermostat(Thermostat):
|
||||||
channel_names=CHANNEL_THERMOSTAT,
|
channel_names=CHANNEL_THERMOSTAT,
|
||||||
aux_channels=CHANNEL_FAN,
|
aux_channels=CHANNEL_FAN,
|
||||||
manufacturers="Centralite",
|
manufacturers="Centralite",
|
||||||
models="3157100",
|
models={"3157100", "3157100-E"},
|
||||||
stop_on_match=True,
|
stop_on_match=True,
|
||||||
)
|
)
|
||||||
class CentralitePearl(ZenWithinThermostat):
|
class CentralitePearl(ZenWithinThermostat):
|
||||||
|
|
|
@ -61,6 +61,7 @@ from .core import discovery
|
||||||
from .core.const import (
|
from .core.const import (
|
||||||
CHANNEL_ANALOG_INPUT,
|
CHANNEL_ANALOG_INPUT,
|
||||||
CHANNEL_ELECTRICAL_MEASUREMENT,
|
CHANNEL_ELECTRICAL_MEASUREMENT,
|
||||||
|
CHANNEL_FAN,
|
||||||
CHANNEL_HUMIDITY,
|
CHANNEL_HUMIDITY,
|
||||||
CHANNEL_ILLUMINANCE,
|
CHANNEL_ILLUMINANCE,
|
||||||
CHANNEL_LEAF_WETNESS,
|
CHANNEL_LEAF_WETNESS,
|
||||||
|
@ -636,6 +637,13 @@ class ThermostatHVACAction(Sensor, id_suffix="hvac_action"):
|
||||||
self.async_write_ha_state()
|
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(
|
@MULTI_MATCH(
|
||||||
channel_names=CHANNEL_THERMOSTAT,
|
channel_names=CHANNEL_THERMOSTAT,
|
||||||
manufacturers="Zen Within",
|
manufacturers="Zen Within",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue