Skip to content

Commit 2e100ec

Browse files
lexiconzeroLash-L
andauthored
Update python_snoo/snoo.py
Co-authored-by: Luke Lashley <conway220@gmail.com>
1 parent 04f2612 commit 2e100ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python_snoo/snoo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ async def set_level(self, device: SnooDevice, level: SnooStates, hold: bool = Fa
228228
await self.send_command("go_to_state", device, **{"state": level.value, "hold": hold})
229229

230230
async def set_sticky_white_noise(
231-
self, device: SnooDevice, on: bool, timeout_value: SnooNoiseTimeoutLevels = SnooNoiseTimeoutLevels._15_minutes
231+
self, device: SnooDevice, on: bool, timeout_value: SnooNoiseTimeoutLevels | int = SnooNoiseTimeoutLevels._15_minutes
232232
):
233233
"""Enable or disable sticky white noise for a device.
234234

0 commit comments

Comments
 (0)