mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix Mill Gen1 Climate Control (#66899)
Fixes Mill Gen1 Climate Control, so it correctly returns the current status of the heating element.
This commit is contained in:
parent
6464ab8356
commit
e8fc4cc627
@ -184,7 +184,7 @@ class MillHeater(CoordinatorEntity, ClimateEntity):
|
||||
self._attr_target_temperature = heater.set_temp
|
||||
self._attr_current_temperature = heater.current_temp
|
||||
self._attr_fan_mode = FAN_ON if heater.fan_status == 1 else HVAC_MODE_OFF
|
||||
if heater.is_gen1 or heater.is_heating == 1:
|
||||
if heater.is_heating == 1:
|
||||
self._attr_hvac_action = CURRENT_HVAC_HEAT
|
||||
else:
|
||||
self._attr_hvac_action = CURRENT_HVAC_IDLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user