Skip to content

Commit 202e09e

Browse files
Justin.MasonJustin.Mason
Justin.Mason
authored and
Justin.Mason
committed
Always record value (as in hultenvp#239 )
1 parent 9de3a88 commit 202e09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/solis/sensor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def __init__(self,
176176

177177
def do_update(self, value: Any, last_updated: datetime) -> bool:
178178
""" Update the sensor."""
179-
if self.hass and self._attr_native_value != value:
179+
if self.hass:
180180
self._attr_native_value = value
181181
self._attributes[LAST_UPDATED] = last_updated
182182
self.async_write_ha_state()

0 commit comments

Comments
 (0)