mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 15:34:26 +01:00
Allow dot syntax for services #253
This commit is contained in:
@@ -299,7 +299,7 @@ class LuiController(object):
|
||||
else:
|
||||
self._ha_api.get_entity(entity_id).call_service("return_to_base")
|
||||
elif entity_id.startswith('service'):
|
||||
self._ha_api.call_service(entity_id.replace('service.', '', 1), **le.data)
|
||||
self._ha_api.call_service(entity_id.replace('service.', '', 1).replace('.','/', 1), **le.data)
|
||||
|
||||
# for media page
|
||||
if button_type == "media-next":
|
||||
|
||||
Reference in New Issue
Block a user