mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 18:11:41 +02:00
Fix hydrawise timestamp sensor (#61206)
This commit is contained in:
@@ -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()
|
)
|
||||||
|
Reference in New Issue
Block a user