mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
Revert Rachio to seconds instead of total_seconds (#50307)
* revert seconds * Add comment * Update comment to include max runtime
This commit is contained in:
parent
9059ce1c0f
commit
07a93be176
@ -418,9 +418,8 @@ class RachioZone(RachioSwitch):
|
|||||||
CONF_MANUAL_RUN_MINS, DEFAULT_MANUAL_RUN_MINS
|
CONF_MANUAL_RUN_MINS, DEFAULT_MANUAL_RUN_MINS
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
self._controller.rachio.zone.start(
|
# The API limit is 3 hours, and requires an int be passed
|
||||||
self.zone_id, manual_run_time.total_seconds()
|
self._controller.rachio.zone.start(self.zone_id, manual_run_time.seconds)
|
||||||
)
|
|
||||||
_LOGGER.debug(
|
_LOGGER.debug(
|
||||||
"Watering %s on %s for %s",
|
"Watering %s on %s for %s",
|
||||||
self.name,
|
self.name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user