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:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user