Fix hydrawise timestamp sensor (#61206)

This commit is contained in:
Paulus Schoutsen 2021-12-07 22:56:22 -08:00 committed by GitHub
parent 6b6b60b589
commit 1ca8df9584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,4 +83,4 @@ class HydrawiseSensor(HydrawiseEntity, SensorEntity):
_LOGGER.debug("New cycle time: %s", next_cycle)
self._attr_native_value = dt.utc_from_timestamp(
dt.as_timestamp(dt.now()) + next_cycle
).isoformat()
)