1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-11-16 17:13:49 -05:00

Handle IP update from DHCP and add drawing progress sensor

This commit is contained in:
Nathan Spencer
2024-07-25 10:52:47 -06:00
parent 71180f68f9
commit 96edafd006
14 changed files with 112 additions and 65 deletions

View File

@@ -67,7 +67,7 @@ def playlist_update_handler(entity: OasisMiniSelectEntity) -> None:
]
entity._attr_options = options
index = min(entity.device.playlist_index, len(options) - 1)
entity._attr_current_option = options[index]
entity._attr_current_option = options[index] if options else None
DESCRIPTORS = (