Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:vertical-stack-in-card
- cards:
- - type: custom:mushroom-template-card
- icon: mdi:washing-machine
- icon_color: red
- primary: Laundry Room
- secondary: |2-
- Washer: {%- set state = states('sensor.washer_run_state') -%}
- {%- if state == ('Washing') -%}
- Washing
- {%- elif state == ('Rinsing') -%}
- Rinsing
- {%- elif state == ('Spinning') -%}
- Spinning
- {%- else -%}
- Off
- {%- endif %} Dryer:
- {%- set state = states('sensor.dryer_run_state') %}
- {%- if state == ('Dry') -%}
- Drying
- {%- elif state == ('Fan') -%}
- Drying
- {%- elif state == ('Wrinkle Care') -%}
- Wrinkle Care
- {%- else -%}
- Off
- {%- endif %} Mini:
- {%- set state = states('sensor.pedestal_washer_run_state') -%}
- {%- if state == ('Washing') -%}
- Washing
- {%- elif state == ('Rinsing') -%}
- Rinsing
- {%- elif state == ('Spinning') -%}
- Spinning
- {%- else -%}
- Off
- {%- endif %}
- layout: horizontal
- tap_action:
- action: navigate
- navigation_path: /lovelace-wife/laundry
- hold_action:
- action: none
- badge_color: |
- {% if is_state('binary_sensor.ac_2', 'on') %}
- blue
- {% endif %}
- badge_icon: |
- {% if is_state('binary_sensor.ac_2', 'on') %}
- mdi:air-conditioner
- {% endif %}
- picture: ""
- double_tap_action:
- action: none
- multiline_secondary: true
- card_mod:
- style:
- mushroom-state-info$: |
- .primary {
- font-size: 15px !important;
- position: relative;
- top: -40px;
- left: -155px;
- overflow: visible !important;
- white-space: nowrap !important;
- }
- .secondary {
- position: relative;
- overflow: visible !important;
- top: -40px;
- left: -155px;
- }
- mushroom-shape-icon$: |
- .shape {
- position: relative;
- left: -40px;
- top: 35px;
- }
- .: |
- :host {
- --mush-icon-size: 140px;
- }
- style: |
- mushroom-badge-icon {
- left: 80px;
- top: 4px;
- }
- - type: custom:mushroom-template-card
- primary: ""
- secondary: ""
- icon: mdi:washing-machine
- entity: sensor.washer_run_state
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- deviceID: THIS
- dismissable: true
- autoclose: false
- content:
- type: vertical-stack
- cards:
- - type: picture-elements
- elements:
- - type: image
- entity: sensor.washer_run_state
- image: /local/lg-icons/sensing.png
- state_image:
- Detecting: /local/lg-icons/sensing-on.png
- style:
- top: 33%
- left: 33%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.washer_run_state
- image: /local/lg-icons/wash.png
- state_image:
- Washing: /local/lg-icons/wash-on.png
- style:
- top: 33%
- left: 51%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.washer_run_state
- image: /local/lg-icons/rinse.png
- state_image:
- Rinsing: /local/lg-icons/rinse-on.png
- style:
- top: 33%
- left: 69%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.washer_run_state
- image: /local/lg-icons/spin.png
- state_image:
- Spinning: /local/lg-icons/spin-on.png
- style:
- top: 33%
- left: 87%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.washer
- image: /local/lg-icons/wifi.png
- state_image:
- "on": /local/lg-icons/wifi-on.png
- style:
- top: 73%
- left: 32%
- width: 10%
- image-rendering: crisp
- - type: image
- entity: sensor.washer_door_lock
- image: /local/lg-icons/lock.png
- state_image:
- "on": /local/lg-icons/lock-on.png
- style:
- top: 73%
- left: 45%
- width: 10%
- image-rendering: crisp
- - type: state-label
- entity: sensor.blank
- prefix: "8:88"
- style:
- color: "#555"
- font-family: PegHolesRegular
- font-size: 50px
- left: 95%
- top: 74%
- transform: translate(-100%,-50%)
- - type: state-label
- entity: sensor.washer_time_display
- style:
- color: "#a68df7"
- font-family: PegHolesRegular
- font-size: 50px
- left: 95%
- top: 74%
- transform: translate(-100%,-50%)
- image: /local/hass-washer-card-fl-steel-wm550hva.png
- - type: conditional
- conditions:
- - entity: sensor.washer_run_state
- state_not: "-"
- card:
- type: entities
- entities:
- - entity: sensor.washer
- type: attribute
- attribute: current_course
- name: Current Course
- icon: mdi:tune-vertical-variant
- - entity: sensor.washer
- type: attribute
- attribute: water_temp
- name: Water Temperature
- icon: mdi:coolant-temperature
- - entity: sensor.washer
- type: attribute
- attribute: spin_speed
- name: Spin Speed
- icon: mdi:rotate-right
- state_color: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- {% set state = states('sensor.washer_run_state') %}
- {% if state == ('Washing') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% elif state == ('Rinsing') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% elif state == ('Spinning') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% else %}
- --shape-color: rgba(90,90,90, .3) !important;
- {% endif %}
- }
- .: |
- ha-state-icon {
- {% set state = states('sensor.washer_run_state') %}
- {% if state == ('Washing') %}
- --shape-color: rgba(149,59,227, 1) !important;
- {% elif state == ('Rinsing') %}
- --shape-color: rgba(149,59,227, 1) !important;
- {% elif state == ('Spinning') %}
- --shape-color: rgba(149,59,227, 1) !important;
- {% else %}
- color: var(--grey-color) ;
- {% endif %}
- }
- ha-card {
- width: 66px;
- margin-left: 68%;
- top: -160px;
- background: none;
- }
- :host {
- --mush-icon-size: 38px;
- }
- - type: custom:mushroom-template-card
- primary: ""
- secondary: ""
- icon: mdi:tumble-dryer
- entity: sensor.dryer_run_state
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- deviceID: THIS
- dismissable: true
- autoclose: false
- content:
- type: vertical-stack
- cards:
- - type: picture-elements
- elements:
- - type: image
- entity: sensor.dryer_run_state
- image: /local/lg-icons/keep-fresh.png
- state_image:
- KeepFresh is on: /local/lg-icons/keep-fresh-on.png
- style:
- top: 40%
- left: 54%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.dryer_run_state
- image: /local/lg-icons/dry.png
- state_image:
- Drying: /local/lg-icons/dry-on.png
- style:
- top: 33%
- left: 69%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.dryer_run_state
- image: /local/lg-icons/cool.png
- state_image:
- Cooling: /local/lg-icons/cool-on.png
- style:
- top: 33%
- left: 87%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.dryer
- image: /local/lg-icons/wifi.png
- state_image:
- "on": /local/lg-icons/wifi-on.png
- style:
- top: 73%
- left: 32%
- width: 10%
- image-rendering: crisp
- - type: state-label
- entity: sensor.blank
- prefix: "8:88"
- style:
- color: "#555"
- font-family: PegHolesRegular
- font-size: 50px
- left: 95%
- top: 74%
- transform: translate(-100%,-50%)
- - type: state-label
- entity: sensor.dryer_time_display
- style:
- color: "#a68df7"
- font-family: PegHolesRegular
- font-size: 50px
- left: 95%
- top: 74%
- transform: translate(-100%,-50%)
- image: /local/hass-dryer-card-fl-steel-dlex5500v.png
- - type: conditional
- conditions:
- - entity: sensor.dryer_run_state
- state_not: "-"
- card:
- type: entities
- entities:
- - entity: sensor.dryer
- type: attribute
- attribute: current_course
- name: Current Course
- icon: mdi:tune-vertical-variant
- - entity: sensor.dryer
- type: attribute
- attribute: temp_control
- name: Temperature Control
- icon: mdi:thermometer
- - entity: sensor.dryer
- type: attribute
- attribute: dry_level
- name: Dry Level
- icon: mdi:air-filter
- hold_action:
- action: none
- double_tap_action:
- action: none
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- {% set state = states('sensor.dryer_run_state') %}
- {% if state == ('Dry') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% elif state == ('Fan') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% else %}
- --shape-color: rgba(90,90,90, .3) !important;
- {% endif %}
- }
- .: |
- ha-state-icon {
- {% set state = states('switch.waterfall') %}
- {% if state == ('Dry') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% elif state == ('Fan') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% else %}
- color: var(--grey-color) ;
- {% endif %}
- }
- ha-card {
- width: 66px;
- margin-left: 68%;
- top: -175px;
- background: none;
- }
- :host {
- --mush-icon-size: 38px;
- }
- - type: custom:mushroom-template-card
- primary: ""
- secondary: ""
- icon: mdi:washing-machine
- entity: sensor.pedestal_washer_run_state
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- deviceID: THIS
- dismissable: true
- autoclose: false
- content:
- type: vertical-stack
- cards:
- - type: picture-elements
- elements:
- - type: image
- entity: sensor.pedestal_washer_dryer_run_state
- image: /local/lg-icons/sensing.png
- state_image:
- Detecting: /local/lg-icons/sensing-on.png
- style:
- top: 33%
- left: 33%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.pedestal_washer_run_state
- image: /local/lg-icons/wash.png
- state_image:
- Washing: /local/lg-icons/wash-on.png
- style:
- top: 33%
- left: 51%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.pedestal_washer_run_state
- image: /local/lg-icons/rinse.png
- state_image:
- Rinsing: /local/lg-icons/rinse-on.png
- style:
- top: 33%
- left: 69%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.pedestal_washer_run_state
- image: /local/lg-icons/spin.png
- state_image:
- Spinning: /local/lg-icons/spin-on.png
- style:
- top: 33%
- left: 87%
- width: 20%
- image-rendering: crisp
- - type: image
- entity: sensor.pedestal_washer
- image: /local/lg-icons/wifi.png
- state_image:
- "on": /local/lg-icons/wifi-on.png
- style:
- top: 73%
- left: 32%
- width: 10%
- image-rendering: crisp
- - type: image
- entity: sensor.pedestal_washer_door_lock
- image: /local/lg-icons/lock.png
- state_image:
- "on": /local/lg-icons/lock-on.png
- style:
- top: 73%
- left: 45%
- width: 10%
- image-rendering: crisp
- - type: state-label
- entity: sensor.blank
- prefix: "8:88"
- style:
- color: "#555"
- font-family: PegHolesRegular
- font-size: 50px
- left: 95%
- top: 74%
- transform: translate(-100%,-50%)
- - type: state-label
- entity: sensor.pedestal_washer_time_display
- style:
- color: "#8df427"
- font-family: PegHolesRegular
- font-size: 50px
- left: 95%
- top: 74%
- transform: translate(-100%,-50%)
- image: /local/hass-mini-washer-card-bg-wd300cv.png
- - type: conditional
- conditions:
- - entity: sensor.pedestal_washer_run_state
- state_not: "-"
- card:
- type: entities
- entities:
- - entity: sensor.pedestal_washer
- type: attribute
- attribute: water_temp
- name: Water Temperature
- icon: mdi:coolant-temperature
- - entity: sensor.pedestal_washer
- type: attribute
- attribute: spin_speed
- name: Spin Speed
- icon: mdi:rotate-right
- - entity: sensor.pedestal_washer
- type: attribute
- attribute: current_course
- name: Current Program
- icon: mdi:air-filter
- - entity: sensor.pedestal_washer
- type: attribute
- attribute: run_state
- name: Current State
- icon: mdi:archive
- - entity: sensor.pedestal_washer
- type: attribute
- attribute: tubclean_count
- name: Washes Since Tub Clean
- icon: mdi:creation
- state_color: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- {% set state = states('sensor.pedestal_washer_run_state') %}
- {% if state == ('Washing') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% elif state == ('Rinsing') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% elif state == ('Spinning') %}
- --shape-color: rgba(149,59,227, .2) !important;
- {% else %}
- --shape-color: rgba(90,90,90, .3) !important;
- {% endif %}
- }
- .: |
- ha-state-icon {
- {% set state = states('sensor.pedestal_washer_run_state') %}
- {% if state == ('Washing') %}
- --shape-color: rgba(149,59,227, 1) !important;
- {% elif state == ('Rinsing') %}
- --shape-color: rgba(149,59,227, 1) !important;
- {% elif state == ('Spinning') %}
- --shape-color: rgba(149,59,227, 1) !important;
- {% else %}
- color: var(--grey-color) ;
- {% endif %}
- }
- ha-card {
- width: 66px;
- margin-left: 68%;
- top: -190px;
- background: none;
- }
- :host {
- --mush-icon-size: 38px;
- }
- card_mod:
- style: |
- ha-card {
- height: 155px !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement