mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Fix HVAC modes for zha Stelpro fan heater (#66293)
This commit is contained in:
parent
f81b6d61b9
commit
ffe821a1f7
@ -756,3 +756,18 @@ class BecaThermostat(Thermostat):
|
|||||||
)
|
)
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
@MULTI_MATCH(
|
||||||
|
channel_names=CHANNEL_THERMOSTAT,
|
||||||
|
manufacturers="Stelpro",
|
||||||
|
models={"SORB"},
|
||||||
|
stop_on_match_group=CHANNEL_THERMOSTAT,
|
||||||
|
)
|
||||||
|
class StelproFanHeater(Thermostat):
|
||||||
|
"""Stelpro Fan Heater implementation."""
|
||||||
|
|
||||||
|
@property
|
||||||
|
def hvac_modes(self) -> tuple[str, ...]:
|
||||||
|
"""Return only the heat mode, because the device can't be turned off."""
|
||||||
|
return (HVAC_MODE_HEAT,)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user