1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-12-06 18:44:14 -05:00

Address PR

This commit is contained in:
Nathan Spencer
2025-11-26 21:47:15 +00:00
parent 7d7675dcb1
commit 8467c50215

View File

@@ -671,7 +671,7 @@ class OasisDevice:
client = self._require_client()
await client.async_send_stop_command(self) # needed before replacing playlist
await client.async_send_set_playlist_command(self, playlist)
if start_playing and len(playlist) > 0:
if start_playing and playlist:
await client.async_send_play_command(self)
async def async_set_repeat_playlist(self, repeat: bool) -> None: