Files
hassio-configuration/configuration/ui-lovelace/080-bathrooms.yaml
Alexander Savin 26d86dec90
Some checks failed
Savin's Home Assistant / build (push) Failing after 1m45s
Update to the current version
2025-05-11 16:07:21 -04:00

376 lines
16 KiB
YAML

---
title: Bathrooms
icon: 'mdi:shower'
panel: true
visible:
- user: 1614b22cbef54f979741cf8a6b3413ec
- user: 76e8af2547254ef0ab523ae1ad0bf81a
cards:
- type: 'custom:layout-card'
layout_type: 'custom:vertical-layout'
layout:
max_cols: 3
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:mushroom-chips-card'
chips:
- type: template
icon: >-
{% if is_state('binary_sensor.presence_03_presence', 'on')
-%}mdi:account-multiple{%- else
-%}mdi:account-off-outline{%- endif %}
icon_color: >-
{% if is_state('binary_sensor.presence_03_presence', 'on')
-%} #FFC107 {%- else -%} #44739E {%- endif %}
badge_icon: 'mdi:numeric-1-circle'
badge_color: green
entity: binary_sensor.presence_03_presence
tap_action:
action: more-info
- type: template
icon: >-
{% if
is_state('binary_sensor.bathroom_master_01_home_security_motion_detection',
'on') -%}mdi:motion-sensor{%- else
-%}mdi:motion-sensor-off{%- endif %}
icon_color: >-
{% if
is_state('binary_sensor.bathroom_master_01_home_security_motion_detection',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: >-
binary_sensor.bathroom_master_01_home_security_motion_detection
tap_action:
action: more-info
- type: template
icon: >-
{% if
is_state('binary_sensor.window_bathroom_master_01_contact',
'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%-
endif %}
icon_color: >-
{% if
is_state('binary_sensor.window_bathroom_master_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.window_bathroom_master_01_contact
tap_action:
action: more-info
- type: template
icon: >-
{% if
is_state('binary_sensor.door_bathroom_master_01_contact',
'on') -%}mdi:door-open{%- else -%}mdi:door-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.door_bathroom_master_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.door_bathroom_master_01_contact
tap_action:
action: more-info
- type: 'custom:mushroom-chips-card'
alignment: end
chips:
- type: template
icon: 'mdi:ceiling-light'
icon_color: >-
{% if is_state('light.bathroom_master_wall_01', 'on')
-%}#FFC107{%- else -%}#44739E{%- endif %}
entity: light.bathroom_master_wall_01
tap_action:
action: toggle
- type: template
icon: 'mdi:fan'
icon_color: >-
{% if is_state('fan.bathroom_master', 'on') -%}#FFC107{%-
else -%}#44739E{%- endif %}
entity: fan.bathroom_master
tap_action:
action: toggle
- type: 'custom:bubble-card'
card_type: separator
icon: 'mdi:shower'
sub_button:
- name: Temp
icon: 'mdi:thermometer-lines'
entity: sensor.climate_bathroom_master_01_temperature
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
- name: Humidity
icon: 'mdi:water-percent'
entity: sensor.climate_bathroom_master_01_humidity
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
- name: Light Level
icon: 'mdi:weather-sunny'
entity: sensor.motion_bathroom_master_01_illuminance
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
styles: |
.bubble-feedback-container {
margin: 0px;
}
- type: 'custom:bubble-card'
card_type: button
button_type: slider
name: Light
entity: light.bathroom_master_wall_01
icon: 'mdi:lamp'
show_state: true
tap_action:
action: toggle
button_action:
tap_action:
action: toggle
- type: horizontal-stack
cards:
- type: button
name: Occupancy
entity: input_boolean.occupancy_bathroom_master
- type: button
name: Operating Mode
entity: input_boolean.manually_operated_light_bathroom_master
- type: button
name: Occupants
entity: input_number.occupants_bathroom_master
- type: 'custom:layout-break'
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:mushroom-chips-card'
chips:
- type: template
icon: >-
{% if
is_state('binary_sensor.dome_z_wave_plus_motion_detector_with_light_sensor_and_flexible_magnetic_mount_home_security_motion_detection_7',
'on') -%}mdi:motion-sensor{%- else
-%}mdi:motion-sensor-off{%- endif %}
icon_color: >-
{% if
is_state('binary_sensor.dome_z_wave_plus_motion_detector_with_light_sensor_and_flexible_magnetic_mount_home_security_motion_detection_7',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: >-
binary_sensor.dome_z_wave_plus_motion_detector_with_light_sensor_and_flexible_magnetic_mount_home_security_motion_detection_7
tap_action:
action: more-info
- type: template
icon: >-
{% if
is_state('binary_sensor.window_bathroom_bedroom_01_contact',
'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%-
endif %}
icon_color: >-
{% if
is_state('binary_sensor.window_bathroom_bedroom_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.window_bathroom_bedroom_01_contact
tap_action:
action: more-info
- type: template
icon: >-
{% if
is_state('binary_sensor.door_bathroom_bedroom_01_contact',
'on') -%}mdi:door-open{%- else -%}mdi:door-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.door_bathroom_bedroom_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.door_bathroom_bedroom_01_contact
tap_action:
action: more-info
- type: 'custom:mushroom-chips-card'
alignment: end
chips:
- type: template
icon: 'mdi:ceiling-light'
icon_color: >-
{% if is_state('light.bathroom_bedroom_wall_01', 'on')
-%}#FFC107{%- else -%}#44739E{%- endif %}
entity: light.bathroom_bedroom_wall_01
tap_action:
action: toggle
- type: template
icon: 'mdi:fan'
icon_color: >-
{% if is_state('fan.bathroom_bedroom', 'on') -%}#FFC107{%-
else -%}#44739E{%- endif %}
entity: fan.bathroom_bedroom
tap_action:
action: toggle
- type: 'custom:bubble-card'
card_type: separator
icon: 'mdi:shower'
sub_button:
- name: Temp
icon: 'mdi:thermometer-lines'
entity: sensor.climate_bathroom_bedroom_01_temperature
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
- name: Humidity
icon: 'mdi:water-percent'
entity: sensor.climate_bathroom_bedroom_01_humidity
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
- name: Light Level
icon: 'mdi:weather-sunny'
entity: sensor.motion_bathroom_bedroom_01_illuminance
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
styles: |
.bubble-feedback-container {
margin: 0px;
}
- type: 'custom:bubble-card'
card_type: button
button_type: slider
name: Light
entity: light.bathroom_bedroom_wall_01
icon: 'mdi:lamp'
show_state: true
tap_action:
action: toggle
button_action:
tap_action:
action: toggle
- type: horizontal-stack
cards:
- type: button
name: Occupancy
entity: input_boolean.occupancy_bathroom_bedroom
- type: button
name: Operating Mode
entity: input_boolean.manually_operated_light_bathroom_bedroom
- type: button
name: Occupants
entity: input_number.occupants_bathroom_bedroom
- type: 'custom:layout-break'
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: 'custom:mushroom-chips-card'
chips:
- type: template
icon: >-
{% if
is_state('binary_sensor.dome_z_wave_plus_motion_detector_with_light_sensor_and_flexible_magnetic_mount_home_security_motion_detection_6',
'on') -%}mdi:motion-sensor{%- else
-%}mdi:motion-sensor-off{%- endif %}
icon_color: >-
{% if
is_state('binary_sensor.dome_z_wave_plus_motion_detector_with_light_sensor_and_flexible_magnetic_mount_home_security_motion_detection_6',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: >-
binary_sensor.dome_z_wave_plus_motion_detector_with_light_sensor_and_flexible_magnetic_mount_home_security_motion_detection_6
tap_action:
action: more-info
- type: template
icon: >-
{% if
is_state('binary_sensor.door_bathroom_living_01_contact',
'on') -%}mdi:door-open{%- else -%}mdi:door-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.door_bathroom_living_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.door_bathroom_living_01_contact
tap_action:
action: more-info
- type: 'custom:mushroom-chips-card'
alignment: end
chips:
- type: template
icon: 'mdi:ceiling-light'
icon_color: >-
{% if is_state('light.bathroom_living_room_01', 'on')
-%}#FFC107{%- else -%}#44739E{%- endif %}
entity: light.bathroom_living_room_01
tap_action:
action: toggle
- type: template
icon: 'mdi:fan'
icon_color: >-
{% if is_state('fan.bathroom_living_room', 'on')
-%}#FFC107{%- else -%}#44739E{%- endif %}
entity: fan.bathroom_living_room
tap_action:
action: toggle
- type: 'custom:bubble-card'
card_type: separator
icon: 'mdi:toilet'
sub_button:
- name: Temp
icon: 'mdi:thermometer-lines'
entity: sensor.climate_bathroom_living_01_temperature
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
- name: Humidity
icon: 'mdi:water-percent'
entity: sensor.climate_bathroom_living_01_humidity
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
- name: Light Level
icon: 'mdi:weather-sunny'
entity: sensor.motion_bathroom_living_01_illuminance
show_name: false
show_icon: true
show_state: true
show_background: false
show_attribute: false
styles: |
.bubble-feedback-container {
margin: 0px;
}
- type: 'custom:bubble-card'
card_type: button
button_type: slider
name: Light
entity: light.bathroom_living_room_01
icon: 'mdi:lamp'
show_state: true
tap_action:
action: toggle
button_action:
tap_action:
action: toggle
- type: horizontal-stack
cards:
- type: button
name: Occupancy
entity: input_boolean.occupancy_bathroom_living
- type: button
name: Operating Mode
entity: input_boolean.manually_operated_light_bathroom_living
- type: button
name: Occupants
entity: input_number.occupants_bathroom_living