Created
May 15, 2022 00:58
-
-
Save RamonBell/0f035880af19b178a1a7c732fee67988 to your computer and use it in GitHub Desktop.
mushroom person card with phone entities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: custom:stack-in-card | |
mode: vertical | |
cards: | |
- type: custom:mushroom-person-card | |
entity: person.ramon_bell | |
use_entity_picture: true | |
hide_name: true | |
layout: vertical | |
- type: custom:mushroom-chips-card | |
chips: | |
- type: entity | |
entity: binary_sensor.pixel_6_is_charging | |
content_info: none | |
card_mod: null | |
style: | | |
ha-card { | |
box-shadow: 0px 0px; | |
} | |
icon_color: |- | |
{% set state=states('binary_sensor.pixel_6_is_charging') %} | |
{% if state=='on' %} | |
green | |
{% elif state=='off' %} | |
yellow | |
{% else %} | |
red | |
{% endif %} | |
- type: entity | |
entity: sensor.pixel_6_battery_level | |
content_info: none | |
card_mod: null | |
style: | | |
ha-card { | |
box-shadow: 0px 0px; | |
} | |
- type: entity | |
entity: sensor.pixel_6_ringer_mode | |
content_info: none | |
card_mod: null | |
style: | | |
ha-card { | |
box-shadow: 0px 0px; | |
} | |
alignment: center |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment