Untitled

 avatar
unknown
plain_text
2 years ago
235 B
334
Indexable
type: custom:button-card
entity: device_tracker.my_phone
name: Adam is
show_state: true
show_icon: false
style: |
  ha-card {
    background-color: {{ '#fc0303' if is_state('device_tracker.my_phone', 'not_home') else '#212121' }};
  }
Editor is loading...