Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:stack-in-card
- mode: vertical
- cards:
- - type: horizontal-stack
- mode: horizontal
- cards:
- - type: custom:button-card
- icon: mdi:sofa-outline
- name: Living
- layout: icon_name
- styles:
- icon:
- - height: 25px
- - width: 25px
- - margin-left: "-10px"
- name:
- - font-size: 16px
- - margin-top: 3px
- - margin-left: "-100px"
- card:
- - width: 190px
- - height: 50px
- card_mod:
- style: |
- ha-card {
- border: none;
- }
- - type: custom:button-card
- layout: icon_name
- styles:
- icon:
- - height: 25px
- - width: 25px
- - margin-left: "-40px"
- name:
- - font-size: 18px
- - margin-left: "-230px"
- - margin-top: 3px
- card:
- - height: 50px
- card_mod:
- style: |
- ha-card {
- border: none;
- }
- - type: custom:button-card
- entity: sensor.anand_temp_temperature
- show_state: true
- show_name: false
- layout: icon_state
- styles:
- icon:
- - height: 20px
- - width: 20px
- state:
- - font-size: 13px
- card:
- - height: 50px
- card_mod:
- style: |
- ha-card {
- border: none;
- }
- - type: custom:button-card
- entity: sensor.anand_temp_humidity
- show_state: true
- show_name: false
- layout: icon_state
- styles:
- icon:
- - height: 20px
- - width: 20px
- state:
- - font-size: 13px
- - margin-left: "-5px"
- card:
- - height: 50px
- card_mod:
- style: |
- ha-card {
- border: none;
- }
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- entity: light.living_light
- icon: mdi:ceiling-light
- icon_color: |
- {% if states(entity) == 'off' %}
- light-grey
- {% else %}
- orange
- {% endif %}
- layout: vertical
- tap_action:
- action: toggle
- card_mod:
- style: |
- ha-card {
- border: none !important;
- background: none
- }
- :host {
- --mush-icon-size: 45px;
- --card-secondary-font-size: 14px !important;
- }
- - type: custom:mushroom-template-card
- entity: fan.living_fan
- layout: vertical
- primary_info: none
- secondary_info: none
- icon: mdi:ceiling-fan
- icon_color: |
- {% if states(entity) == 'off' %}
- light-grey
- {% else %}
- blue
- {% endif %}
- card_mod:
- style: |
- ha-card {
- border: none !important;
- background: none
- }
- :host {
- --mush-icon-size: 45px;
- --card-secondary-font-size: 14px !important;
- }
- - type: custom:mushroom-template-card
- entity: binary_sensor.living_room
- icon: |
- {% if states(entity) == 'off' %}
- mdi:motion-sensor-off
- {% else %}
- mdi:motion-sensor
- {% endif %}
- icon_color: |
- {% if states(entity) == 'off' %}
- light-grey
- {% else %}
- blue
- {% endif %}
- layout: vertical
- tap_action:
- action: more-info
- card_mod:
- style: |
- ha-card {
- border: none !important;
- background: none
- }
- :host {
- --mush-icon-size: 45px;
- --card-secondary-font-size: 14px !important;
- }
- - type: custom:mushroom-template-card
- entity: switch.living_room_tv
- icon: mdi:television
- primary_info: none
- secondary_info: none
- icon_color: |
- {% if states(entity) == 'off' %}
- light-grey
- {% else %}
- blue
- {% endif %}
- layout: vertical
- tap_action:
- action: toggle
- card_mod:
- style: |
- ha-card {
- border: none !important;
- background: none
- }
- :host {
- --mush-icon-size: 45px;
- --card-secondary-font-size: 14px !important;
- }
- - type: custom:mushroom-template-card
- entity: light.fire_light
- primary_info: none
- secondary_info: none
- layout: vertical
- icon: mdi:fireplace
- icon_color: |
- {% if states(entity) == 'off' %}
- light-grey
- {% else %}
- red
- {% endif %}
- card_mod:
- style: |
- ha-card {
- border: none !important;
- background: none
- }
- :host {
- --mush-icon-size: 45px;
- --card-secondary-font-size: 14px !important;
- }
- - type: custom:mushroom-template-card
- primary_info: none
- secondary_info: none
- layout: vertical
- icon_color: |
- {% if states(entity) == 'off' %}
- light-grey
- {% else %}
- blue
- {% endif %}
- tap_action:
- action: toggle
- card_mod:
- style: |
- ha-card {
- border: none !important;
- background: none
- }
- :host {
- --mush-icon-size: 45px;
- }
- card_mod:
- style: |
- ha-card {
- background: none
- }
- :host {
- --ha-card-border-width: 2px;
- --background: none;
- }
Add Comment
Please, Sign In to add comment