mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix hydrawise timestamp sensor (#61206)
This commit is contained in:
parent
6b6b60b589
commit
1ca8df9584
@ -83,4 +83,4 @@ class HydrawiseSensor(HydrawiseEntity, SensorEntity):
|
|||||||
_LOGGER.debug("New cycle time: %s", next_cycle)
|
_LOGGER.debug("New cycle time: %s", next_cycle)
|
||||||
self._attr_native_value = dt.utc_from_timestamp(
|
self._attr_native_value = dt.utc_from_timestamp(
|
||||||
dt.as_timestamp(dt.now()) + next_cycle
|
dt.as_timestamp(dt.now()) + next_cycle
|
||||||
).isoformat()
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user