Skip to content

Commit e72de24

Browse files
committed
Fix typing
1 parent 6ded92b commit e72de24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise/smile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,9 @@ async def _set_schedule_state_legacy(self, name: str, status: str) -> None:
482482

483483
await self._request(uri, method="put", data=data)
484484

485-
async def set_schedule_state(self, loc_id: str, name: str, state: str) -> None:
485+
async def set_schedule_state(
486+
self, loc_id: str, name: str | None, state: str
487+
) -> None:
486488
"""Activate/deactivate the Schedule, with the given name, on the relevant Thermostat.
487489
Determined from - DOMAIN_OBJECTS.
488490
In HA Core used to set the hvac_mode: in practice switch between schedule on - off.

0 commit comments

Comments
 (0)