Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: 'custom:card-templater'
- entities:
- - sensor.me_phone_battery_level
- - sensor.wife_phone_battery_level
- card:
- type: glance
- entities:
- - entity: person.me
- name_template: >-
- {{ states('sensor.my_phone_battery_level') }}%{{ '+' if
- states('binary_sensor.my_phone_is_charging') == 'on' else '' }}
- - entity: person.wife
- name_template: >-
- {{ states("sensor.wife_phone_battery_level") }}%{{ "+" if
- states("binary_sensor.wife_phone_is_charging") == "on" else "" }}
- show_state: true
- show_icon: true
- show_name: true
- state_color: true
Add Comment
Please, Sign In to add comment