mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +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
|
||||
)
|
||||
)
|
||||
self._controller.rachio.zone.start(
|
||||
self.zone_id, manual_run_time.total_seconds()
|
||||
)
|
||||
# The API limit is 3 hours, and requires an int be passed
|
||||
self._controller.rachio.zone.start(self.zone_id, manual_run_time.seconds)
|
||||
_LOGGER.debug(
|
||||
"Watering %s on %s for %s",
|
||||
self.name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user