mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
v3_button_power:
|
||||
template: v3_button
|
||||
variables:
|
||||
power_sensor:
|
||||
state_display: |
|
||||
[[[
|
||||
if (entity.state === 'off') return 'Off';
|
||||
return states[variables.power_sensor].state + " W";
|
||||
]]]
|
||||
icon: mdi:power-socket
|
||||
tap_action:
|
||||
action: more-info
|
||||
entity: "[[[return variables.power_sensor]]]"
|
||||
Reference in New Issue
Block a user