This commit is contained in:
Johannes
2022-07-30 21:48:58 +02:00
parent fecc61de95
commit 17648b3fd3
2 changed files with 8 additions and 2 deletions

View File

@@ -288,7 +288,9 @@ class LuiController(object):
else:
self._ha_api.get_entity(entity_id).call_service("lock")
elif entity_id.startswith('button') or entity_id.startswith('input_button'):
self._ha_api.get_entity(entity_id).call_service("press")
self._ha_api.get_entity(entity_id).call_service("press")
elif entity_id.startswith('input_select'):
self._ha_api.get_entity(entity_id).call_service("select_next")
# for media page
if button_type == "media-next":