mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix fibaro climate unit (#83659)
This commit is contained in:
parent
c467b890fe
commit
119f2a90b7
@ -159,7 +159,8 @@ class FibaroThermostat(FibaroDevice, ClimateEntity):
|
||||
):
|
||||
self._target_temp_device = FibaroDevice(device)
|
||||
self._attr_supported_features |= ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
tempunit = device.properties.unit
|
||||
if "unit" in device.properties:
|
||||
tempunit = device.properties.unit
|
||||
|
||||
if any(action for action in OP_MODE_ACTIONS if action in device.actions):
|
||||
self._op_mode_device = FibaroDevice(device)
|
||||
|
Loading…
x
Reference in New Issue
Block a user