mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Fix deCONZ climate offset display if offset is zero (#59803)
This commit is contained in:
parent
a68563cefd
commit
a4826f4b69
@ -256,7 +256,7 @@ class DeconzThermostat(DeconzDevice, ClimateEntity):
|
||||
"""Return the state attributes of the thermostat."""
|
||||
attr = {}
|
||||
|
||||
if self._device.offset:
|
||||
if self._device.offset is not None:
|
||||
attr[ATTR_OFFSET] = self._device.offset
|
||||
|
||||
if self._device.valve is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user