Skip to content

Commit

Permalink
fix: defaults for sleep timer (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja authored Sep 5, 2024
1 parent a1d177d commit 2b660ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yoto_api/YotoPlayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ class YotoPlayer:
track_position: int = None
track_key: str = None
playback_status: str = None
sleep_timer_active: bool = None
sleep_timer_seconds_remaining: int = None
sleep_timer_active: bool = False
sleep_timer_seconds_remaining: int = 0


# {'devices': [{'deviceId': 'XXXX', 'name': 'Yoto Player', 'description': 'nameless.limit', 'online': False, 'releaseChannel': 'general', 'deviceType': 'v3', 'deviceFamily': 'v3', 'deviceGroup': '', 'hasUserGivenName': False}]}
Expand Down

0 comments on commit 2b660ae

Please sign in to comment.