mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-31 20:04:19 +01:00
Fix indent
Found this while the media buttons didn't work anymore
This commit is contained in:
@@ -186,8 +186,8 @@ class NsPanelLovelanceUI:
|
||||
if(btype == "button"):
|
||||
if(entity_id.startswith('scene')):
|
||||
self.api.get_entity(entity_id).call_service("turn_on")
|
||||
else:
|
||||
self.api.get_entity(entity_id).call_service("press")
|
||||
else:
|
||||
self.api.get_entity(entity_id).call_service("press")
|
||||
|
||||
if(btype == "media-next"):
|
||||
self.api.get_entity(entity_id).call_service("media_next_track")
|
||||
|
||||
Reference in New Issue
Block a user