Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - type: custom:vertical-stack-in-card
- mode: vertical
- cards:
- - type: custom:mushroom-template-card
- primary: Living Room
- icon: mdi:sofa
- icon_color: red
- layout: horizontal
- entity: switch.radiator_light_strip
- secondary: >
- {{state_attr('climate.living_room', 'current_temperature')
- }} °C
- tap_action:
- action: navigate
- navigation_path: living-room
- card_mod: null
- style: |
- ha-card {
- box-shadow: 0px 0px;
- }
- - type: custom:vertical-stack-in-card
- horizontal: true
- cards:
- - type: custom:mushroom-template-card
- entity: switch.radiator_light_strip
- layout: vertical
- icon: |-
- {% if is_state('switch.radiator_light_strip', 'on') %}
- mdi:lightbulb-group
- {% else %}
- mdi:lightbulb-group-off
- {% endif %}
- icon_color: |-
- {% if is_state('switch.radiator_light_strip', 'on') %}
- yellow
- {%else%}
- transparent
- {% endif %}
- card_mod: null
- style: |
- ha-card {
- box-shadow: 0px 0px;
- }
- - type: custom:mushroom-template-card
- entity: null
- layout: vertical
- icon: |-
- {% if is_state('binary_sensor.', 'on')%}
- mdi:motion-sensor
- {% else %}
- mdi:motion-sensor-off
- {% endif %}
- icon_color: |-
- {% if is_state('binary_sensor.','on')%}
- red
- {%else%}
- transparent
- {% endif %}
- card_mod: null
- style: |
- ha-card {
- box-shadow: 0px 0px;
- }
- mushroom-shape-icon {
- animation: blink 1s linear infinite;
- }
- @keyframes blink {
- 50% {opacity: 0;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement