Skip to content

Commit

Permalink
Fix #719: Select entities unavailable on hub
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Nov 30, 2024
1 parent 694fa4f commit 1a76d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/tapo_control/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def setupEntities(entry):
if tapoAlertTypeSelect:
LOGGER.debug("Adding tapoAlertTypeSelect...")
selects.append(tapoAlertTypeSelect)
else:
elif not tapoSirenTypeSelect:
LOGGER.debug("Adding tapoAlertTypeSelect with start ID 0...")
selects.append(TapoAlertTypeSelect(entry, hass, config_entry, 0))

Expand Down

0 comments on commit 1a76d63

Please sign in to comment.