mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 18:28:43 +00:00
Initial hallway UI. Button refactoring.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
radiator_button:
|
||||
template: [default]
|
||||
name: "Radiator"
|
||||
icon: mdi:radiator
|
||||
state:
|
||||
- value: 'off'
|
||||
operator: '!='
|
||||
styles:
|
||||
card:
|
||||
- background-color: var(--primary-color)
|
||||
- color: black
|
||||
icon:
|
||||
- color: black
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.toggle_radiator
|
||||
service_data:
|
||||
entity_id: '[[[ return entity.id ]]]'
|
||||
Reference in New Issue
Block a user