Some checks failed
Savin's Home Assistant / build (push) Failing after 1m45s
415 lines
18 KiB
YAML
415 lines
18 KiB
YAML
---
|
|
title: Bathrooms
|
|
icon: mdi:shower
|
|
panel: true
|
|
visible:
|
|
- user: 1614b22cbef54f979741cf8a6b3413ec # Alex
|
|
- user: 76e8af2547254ef0ab523ae1ad0bf81a # Tanya
|
|
cards:
|
|
- type: custom:layout-card
|
|
layout: vertical
|
|
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: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
line_color: orange
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.climate_bathroom_master_01_temperature
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: custom:mini-graph-card
|
|
line_color: blue
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.climate_bathroom_master_01_humidity
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: custom:mini-graph-card
|
|
line_color: red
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.motion_bathroom_master_01_illuminance
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: tile
|
|
entity: light.bathroom_master_wall_01
|
|
icon: mdi:lamp
|
|
color: orange
|
|
features:
|
|
- type: "light-brightness"
|
|
tap_action:
|
|
action: toggle
|
|
hold_action:
|
|
action: more-info
|
|
# - type: horizontal-stack
|
|
# cards:
|
|
# - type: custom:button-card
|
|
# name: Fan
|
|
# entity: fan.master_bathroom
|
|
# show_state: false
|
|
# styles:
|
|
# card:
|
|
# - height: 140px
|
|
# - width: 140px
|
|
# icon:
|
|
# - animation: >
|
|
# [[[ return 'rotating ' + (states['sensor.air_purifier_fan_speed'].state) + 's linear infinite' ]]]
|
|
|
|
# - type: custom:flipdown-timer-card
|
|
# entity: timer.app_lighting_bedroom_olivia
|
|
# show_hour: false
|
|
# show_title: false
|
|
# show_header: false
|
|
# duration: "00:01:00"
|
|
# styles:
|
|
# rotor:
|
|
# width: 60px
|
|
# height: 80px
|
|
# button:
|
|
# width: 60px
|
|
# location: bottom
|
|
- 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: horizontal-stack
|
|
# cards:
|
|
# - type: custom:mini-media-player
|
|
# entity: media_player.master_bathroom
|
|
# artwork: cover
|
|
|
|
- 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: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
line_color: orange
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.climate_bathroom_bedroom_01_temperature
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: custom:mini-graph-card
|
|
line_color: blue
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.climate_bathroom_bedroom_01_humidity
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: custom:mini-graph-card
|
|
line_color: red
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.motion_bathroom_bedroom_01_illuminance
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: tile
|
|
entity: light.bathroom_bedroom_wall_01
|
|
icon: mdi:lamp
|
|
color: orange
|
|
features:
|
|
- type: "light-brightness"
|
|
tap_action:
|
|
action: toggle
|
|
hold_action:
|
|
action: more-info
|
|
# - type: horizontal-stack
|
|
# cards:
|
|
# - type: custom:button-card
|
|
# name: Fan
|
|
# entity: fan.master_bedroom_bathroom
|
|
# show_state: false
|
|
# state:
|
|
# - value: "locked"
|
|
# color: green
|
|
# icon: mdi:lock
|
|
# - value: "unlocked"
|
|
# color: red
|
|
# icon: mdi:lock-open-variant
|
|
# styles:
|
|
# card:
|
|
# - height: 140px
|
|
# - width: 140px
|
|
# icon:
|
|
# - animation: >
|
|
# [[[ return 'rotating ' + (states['sensor.air_purifier_fan_speed'].state) + 's linear infinite' ]]]
|
|
|
|
# - type: custom:flipdown-timer-card
|
|
# entity: timer.app_lighting_bathroom_bedroom
|
|
# show_hour: false
|
|
# show_title: false
|
|
# show_header: false
|
|
# duration: "00:01:00"
|
|
# styles:
|
|
# rotor:
|
|
# width: 60px
|
|
# height: 80px
|
|
# button:
|
|
# width: 60px
|
|
# location: bottom
|
|
- 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.presence_01_presence', 'on') -%}mdi:account-multiple{%- else -%}mdi:account-off-outline{%- endif %}"
|
|
# icon_color: "{% if is_state('binary_sensor.presence_01_presence', 'on') -%} #FFC107 {%- else -%} #44739E {%- endif %}"
|
|
# badge_icon: mdi:numeric-1-circle
|
|
# badge_color: green
|
|
- 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: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
line_color: orange
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.climate_bathroom_living_01_temperature
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: custom:mini-graph-card
|
|
line_color: blue
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.climate_bathroom_living_01_humidity
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: custom:mini-graph-card
|
|
line_color: red
|
|
font_size: 75
|
|
font_size_header: 12
|
|
entities:
|
|
- entity: sensor.motion_bathroom_living_01_illuminance
|
|
hours_to_show: 24
|
|
points_per_hour: 4
|
|
align_icon: state
|
|
align_state: left
|
|
show:
|
|
name: false
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: tile
|
|
entity: light.bathroom_living_room_01
|
|
icon: mdi:lamp
|
|
color: orange
|
|
features:
|
|
- type: "light-brightness"
|
|
tap_action:
|
|
action: toggle
|
|
hold_action:
|
|
action: more-info
|
|
# - type: horizontal-stack
|
|
# cards:
|
|
# - type: custom:button-card
|
|
# name: Fan
|
|
# entity: fan.living_room_bathroom
|
|
# show_state: false
|
|
# styles:
|
|
# card:
|
|
# - height: 140px
|
|
# - width: 140px
|
|
# icon:
|
|
# - animation: >
|
|
# [[[ return 'rotating ' + (states['sensor.air_purifier_fan_speed'].state) + 's linear infinite' ]]]
|
|
|
|
# - type: custom:flipdown-timer-card
|
|
# entity: timer.app_lighting_bathroom_living
|
|
# show_hour: false
|
|
# show_title: false
|
|
# show_header: false
|
|
# duration: "00:01:00"
|
|
# styles:
|
|
# rotor:
|
|
# width: 60px
|
|
# height: 80px
|
|
# button:
|
|
# width: 60px
|
|
# location: bottom
|
|
- 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
|