Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - 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;
- }
- - type: conditional
- conditions:
- - entity: media_player.living_room_echo_show
- state_not: 'off'
- - entity: media_player.living_room_echo_show
- state_not: idle
- card:
- type: custom:mushroom-template-card
- layout: vertical
- entity: media_player.living_room_echo_show
- icon: >
- {% if is_state('media_player.living_room_echo_show',
- 'playing')%}
- mdi:speaker-wireless
- {% else %}
- mdi:speaker
- {% endif %}
- icon_color: >-
- {% if is_state('media_player.living_room_echo_show',
- 'playing') %}
- purple
- {% else %}
- transparent
- {% endif %}
- card_mod: null
- style: |
- ha-card {
- box-shadow: 0px 0px;
- }
- card_mod: null
- style: |
- ha-card {
- box-shadow: 0px 0px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement