Created
May 18, 2022 22:52
-
-
Save RamonBell/7927d140fdb4c53c8c1581cfc7c0f73c to your computer and use it in GitHub Desktop.
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:vertical-stack-in-card | |
mode: vertical | |
cards: | |
- type: custom:mushroom-template-card | |
primary: Kid's room | |
icon: mdi:teddy-bear | |
icon_color: pink | |
layout: horizontal | |
tap_action: | |
action: navigate | |
navigation_path: kids-room | |
- type: custom:vertical-stack-in-card | |
horizontal: true | |
cards: | |
- type: custom:mushroom-template-card | |
entity: switch.anotherkidslight | |
layout: vertical | |
icon: |- | |
{% if is_state('switch.anotherkidslight', 'on') %} | |
mdi:ceiling-light | |
{% else %} | |
mdi:ceiling-light-outline | |
{% endif %} | |
icon_color: |- | |
{% if is_state('switch.anotherkidslight', 'on') %} | |
yellow | |
{% endif %} | |
- type: custom:mushroom-template-card | |
entity: switch.kids_bathroom_light | |
layout: vertical | |
icon: |- | |
{% if is_state('switch.kids_bathroom_light', 'on') %} | |
mdi:paper-roll | |
{% else %} | |
mdi:paper-roll-outline | |
{% endif %} | |
icon_color: |- | |
{% if is_state('switch.kids_bathroom_light', 'on') %} | |
yellow | |
{% endif %} | |
- type: custom:mushroom-template-card | |
entity: switch.kids_toilet_room_light | |
layout: vertical | |
icon: |- | |
{% if is_state('switch.kids_toilet_room_light', 'on') %} | |
mdi:toilet | |
{% else %} | |
mdi:toilet | |
{% endif %} | |
icon_color: |- | |
{% if is_state('switch.kids_toilet_room_light', 'on') %} | |
yellow | |
{% endif %} | |
- type: custom:mushroom-template-card | |
entity: switch.kids_closet_light | |
layout: vertical | |
icon: |- | |
{% if is_state('switch.kids_closet_light', 'on') %} | |
mdi:hanger | |
{% else %} | |
mdi:hanger | |
{% endif %} | |
icon_color: |- | |
{% if is_state('switch.kids_closet_light', 'on') %} | |
yellow | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment