Add with_state_indicator button template. Use for motion

This commit is contained in:
2020-05-01 16:39:12 +03:00
parent caf330bfed
commit 75522efb2b
6 changed files with 43 additions and 11 deletions
@@ -129,7 +129,7 @@
- type: custom:button-card
template:
- xs
- with_state
- with_state_background
entity: script.sonos_join_tv
icon: mdi:speaker-multiple
name: TV
@@ -141,29 +141,29 @@
- type: custom:button-card
template:
- xs
- with_state
- with_state_background
entity: binary_sensor.browser_kitchen
name: Motion
- type: custom:button-card
template:
- xs
- with_state
- with_state_background
entity: binary_sensor.motion_1_ias_zone
name: Motion 2
- type: custom:button-card
template:
- xs
- with_state
- with_state_background
entity: binary_sensor.motion_2_ias_zone
name: Hallway
- type: custom:button-card
template:
- xs
- with_state
- with_state_background
entity: media_player.nvidia_shield
name: Shield
- type: custom:button-card
template:
- xs
- with_state
- with_state_background
entity: switch.titanium_power