mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix fibaro climate unit (#83659)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user