Update to the current version
Some checks failed
Savin's Home Assistant / build (push) Failing after 1m45s
Some checks failed
Savin's Home Assistant / build (push) Failing after 1m45s
This commit is contained in:
@ -7,12 +7,15 @@ visible:
|
||||
- user: 76e8af2547254ef0ab523ae1ad0bf81a # Tanya
|
||||
cards:
|
||||
- type: custom:layout-card
|
||||
layout: vertical
|
||||
layout_type: custom:vertical-layout
|
||||
layout:
|
||||
max_cols: 3
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-chips-card
|
||||
chips:
|
||||
|
||||
- type: template
|
||||
icon: "{% if is_state('binary_sensor.presence_kitchen_sensor_2', 'on') -%}mdi:account-multiple{%- else -%}mdi:account-off-outline{%- endif %}"
|
||||
icon_color: "{% if is_state('binary_sensor.presence_kitchen_sensor_2', 'on') -%} #FFC107 {%- else -%} #44739E {%- endif %}"
|
||||
@ -33,187 +36,178 @@ cards:
|
||||
entity: binary_sensor.door_kitchen_01
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:stack-in-card
|
||||
cards:
|
||||
- type: grid
|
||||
columns: 2
|
||||
square: false
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_boolean.kitchen_light_state
|
||||
name: Kitchen
|
||||
icon: mdi:lightbulb-group
|
||||
tap_action:
|
||||
action: toggle
|
||||
card_mod:
|
||||
style: "ha-card { border: none; }"
|
||||
- type: custom:paper-buttons-row
|
||||
preset: mushroom
|
||||
styles:
|
||||
justify-content: flex-end
|
||||
base_config:
|
||||
styles:
|
||||
button:
|
||||
margin-top: 12px
|
||||
margin-right: 12px
|
||||
buttons:
|
||||
- layout: icon
|
||||
icon: mdi:lightbulb-group
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "All"
|
||||
styles:
|
||||
button:
|
||||
color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'All') %}#FFC107{% else %}#44739E{% endif %}"
|
||||
background-color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'All') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
|
||||
- layout: icon
|
||||
icon: mdi:countertop-outline
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "Work Zone Only"
|
||||
styles:
|
||||
button:
|
||||
color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'Work Zone Only') %}#FFC107{% else %}#44739E{% endif %}"
|
||||
background-color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'Work Zone Only') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
|
||||
- layout: icon
|
||||
icon: mdi:food-turkey
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "Dinning Zone Only"
|
||||
styles:
|
||||
button:
|
||||
color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'Dinning Zone Only') %}#FFC107{% else %}#44739E{% endif %}"
|
||||
background-color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'Dinning Zone Only') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
|
||||
- layout: icon
|
||||
icon: mdi:ceiling-light-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "Ceiling Only"
|
||||
styles:
|
||||
button:
|
||||
color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'Ceiling Only') %}#FFC107{% else %}#44739E{% endif %}"
|
||||
background-color: "{% if is_state('input_boolean.kitchen_light_state', 'on') and is_state('input_select.kitchen_scenes', 'Ceiling Only') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
|
||||
- layout: icon
|
||||
icon: mdi:globe-light-outline
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: light.toggle
|
||||
service_data:
|
||||
entity_id: light.kitchen_decorating_01
|
||||
styles:
|
||||
button:
|
||||
color: "{% if is_state('light.kitchen_decorating_01', 'on') %}#FFC107{% else %}#44739E{% endif %}"
|
||||
background-color: "{% if is_state('light.kitchen_decorating_01', 'on') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mini-graph-card
|
||||
# name: Temperature
|
||||
line_color: orange
|
||||
font_size: 60
|
||||
font_size_header: 12
|
||||
entities:
|
||||
- entity: sensor.climate_kitchen_01_temperature
|
||||
# name: Temperature
|
||||
hours_to_show: 24
|
||||
points_per_hour: 4
|
||||
align_icon: state
|
||||
align_state: left
|
||||
show:
|
||||
name: false
|
||||
icon: false
|
||||
# card_mod:
|
||||
# style: |
|
||||
# ha-card {
|
||||
# background: url("/local/outback.jpg");
|
||||
# background-size: 100% 400px;
|
||||
# }
|
||||
- type: custom:mini-graph-card
|
||||
name: Humidity
|
||||
line_color: blue
|
||||
font_size: 75
|
||||
font_size_header: 12
|
||||
entities:
|
||||
- entity: sensor.climate_kitchen_01_humidity
|
||||
name: Humidity
|
||||
hours_to_show: 24
|
||||
points_per_hour: 4
|
||||
align_icon: state
|
||||
align_state: left
|
||||
show:
|
||||
name: false
|
||||
- type: custom:mini-graph-card
|
||||
name: Illuminance
|
||||
line_color: red
|
||||
font_size: 75
|
||||
font_size_header: 12
|
||||
entities:
|
||||
- entity: sensor.presence_kitchen_light_level_2
|
||||
name: Illuminance
|
||||
hours_to_show: 24
|
||||
points_per_hour: 4
|
||||
align_icon: state
|
||||
align_state: left
|
||||
show:
|
||||
name: false
|
||||
- type: custom:mini-graph-card
|
||||
name: Ppm25
|
||||
line_color: green
|
||||
font_size: 75
|
||||
font_size_header: 12
|
||||
entities:
|
||||
- entity: sensor.climate_kitchen_02_pm25
|
||||
name: Ppm25
|
||||
hours_to_show: 24
|
||||
points_per_hour: 4
|
||||
align_icon: state
|
||||
align_state: left
|
||||
show:
|
||||
name: false
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.kitchen_sink_01
|
||||
name: 'Kitchen Sink #01'
|
||||
icon: mdi:ceiling-light
|
||||
show_brightness_control: true
|
||||
collapsible_controls: true
|
||||
use_light_color: true
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.kitchen_led_01
|
||||
name: 'Kitchen LED #01'
|
||||
icon: mdi:led-strip-variant
|
||||
show_brightness_control: true
|
||||
collapsible_controls: true
|
||||
use_light_color: true
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.kitchen_ceiling_01
|
||||
name: 'Kitchen Ceiling #1'
|
||||
icon: mdi:dome-light
|
||||
show_brightness_control: true
|
||||
collapsible_controls: true
|
||||
use_light_color: true
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.kitchen_ceiling_02
|
||||
name: 'Kitchen Ceiling #2'
|
||||
icon: mdi:dome-light
|
||||
show_brightness_control: true
|
||||
collapsible_controls: true
|
||||
use_light_color: true
|
||||
|
||||
###################################################################################################
|
||||
### KITCHEN CLIMATE ###########################################################################
|
||||
###################################################################################################
|
||||
- type: custom:bubble-card
|
||||
card_type: separator
|
||||
icon: mdi:countertop-outline
|
||||
sub_button:
|
||||
- name: Temp
|
||||
icon: mdi:thermometer-lines
|
||||
entity: sensor.climate_kitchen_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_kitchen_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.presence_kitchen_light_level_2
|
||||
show_name: false
|
||||
show_icon: true
|
||||
show_state: true
|
||||
show_background: false
|
||||
show_attribute: false
|
||||
- name: PM2.5
|
||||
icon: mdi:blur
|
||||
entity: sensor.climate_kitchen_02_pm25
|
||||
show_name: false
|
||||
show_icon: true
|
||||
show_state: true
|
||||
show_background: false
|
||||
show_attribute: false
|
||||
styles: |
|
||||
.bubble-feedback-container {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: 'custom:bubble-card'
|
||||
card_type: button
|
||||
button_type: switch
|
||||
name: Occupancy
|
||||
entity: input_boolean.occupancy_kitchen
|
||||
icon: 'mdi:account-multiple'
|
||||
show_state: false
|
||||
show_background: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
button_action:
|
||||
tap_action:
|
||||
action: more-info
|
||||
sub_button:
|
||||
- entity: sensor.kitchen_person_count
|
||||
icon: 'mdi:account-group'
|
||||
show_state: false
|
||||
show_background: true
|
||||
- entity: sensor.kitchen_cat_count
|
||||
icon: 'mdi:cat'
|
||||
show_state: false
|
||||
show_background: true
|
||||
- icon: 'mdi:brightness-auto'
|
||||
entity: input_boolean.manually_operated_light_kitchen
|
||||
show_state: false
|
||||
show_background: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles: >
|
||||
.bubble-button-background {
|
||||
opacity: 1 !important;
|
||||
background-color: ${ state === 'on' ? 'var(--light-theme-disabled-color)' : 'var(--light-theme-disabled-color)' } !important;
|
||||
}
|
||||
.bubble-sub-button-1 {
|
||||
background-color: white !important;
|
||||
}
|
||||
.bubble-sub-button-1 > ha-icon {
|
||||
color: ${ hass.states['sensor.kitchen_person_count'].state > 0 ? 'rgb(255, 152, 0)' : '' } !important;
|
||||
}
|
||||
.bubble-sub-button-2 {
|
||||
background-color: white !important;
|
||||
}
|
||||
.bubble-sub-button-2 > ha-icon {
|
||||
color: ${ hass.states['sensor.kitchen_cat_count'].state > 0 ? 'rgb(255, 152, 0)' : '' } !important;
|
||||
}
|
||||
.bubble-sub-button-3 {
|
||||
background-color: white !important;
|
||||
}
|
||||
${subButtonIcon[2].setAttribute("icon", hass.states['input_boolean.manually_operated_light_kitchen'].state === 'on' ? 'mdi:hand-front-right' : 'mdi:brightness-auto')}
|
||||
modules:
|
||||
|
||||
###################################################################################################
|
||||
### KITCHEN LIGHTS ############################################################################
|
||||
###################################################################################################
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: switch
|
||||
name: Light
|
||||
entity: input_boolean.kitchen_light_state
|
||||
icon: mdi:lightbulb-group
|
||||
show_state: true
|
||||
show_background: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
button_action:
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: '#popup-kitchen-light'
|
||||
sub_button:
|
||||
- icon: mdi:lightbulb-group
|
||||
entity: scene.kitchen_all
|
||||
show_state: false
|
||||
show_background: true
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "All"
|
||||
- icon: mdi:countertop-outline
|
||||
entity: scene.kitchen_work_zone_only
|
||||
show_state: false
|
||||
show_background: true
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "Work Zone Only"
|
||||
- icon: mdi:food-turkey
|
||||
entity: scene.kitchen_dinning_zone_only
|
||||
show_state: false
|
||||
show_background: true
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "Dinning Zone Only"
|
||||
- icon: mdi:ceiling-light-multiple
|
||||
entity: scene.kitchen_ceiling_only
|
||||
show_state: false
|
||||
show_background: true
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_option
|
||||
service_data:
|
||||
entity_id: input_select.kitchen_scenes
|
||||
option: "Ceiling Only"
|
||||
styles: |
|
||||
.bubble-sub-button-1 > ha-icon {
|
||||
color: ${hass.states['input_select.kitchen_scenes'].state === 'All' ? 'rgb(255, 152, 0)' : ''} !important;
|
||||
}
|
||||
.bubble-sub-button-2 > ha-icon {
|
||||
color: ${hass.states['input_select.kitchen_scenes'].state === 'Work Zone Only' ? 'rgb(255, 152, 0)' : ''} !important;
|
||||
}
|
||||
.bubble-sub-button-3 > ha-icon {
|
||||
color: ${hass.states['input_select.kitchen_scenes'].state === 'Dinning Zone Only' ? 'rgb(255, 152, 0)' : ''} !important;
|
||||
}
|
||||
.bubble-sub-button-4 > ha-icon {
|
||||
color: ${hass.states['input_select.kitchen_scenes'].state === 'Ceiling Only' ? 'rgb(255, 152, 0)' : ''} !important;
|
||||
}
|
||||
|
||||
- type: custom:layout-break
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: 'custom:webrtc-camera'
|
||||
@ -221,38 +215,120 @@ cards:
|
||||
title: 'Kitchen'
|
||||
muted: true
|
||||
mode: webrtc,mse
|
||||
|
||||
- type: custom:layout-break
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
# - type: entities
|
||||
# title: Lights
|
||||
# show_header_toggle: false
|
||||
# entities:
|
||||
# - entity: timer.app_lighting_kitchen
|
||||
# - type: custom:flipdown-timer-card
|
||||
# entity: timer.app_lighting_kitchen
|
||||
# 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_kitchen
|
||||
- type: button
|
||||
name: Operating Mode
|
||||
entity: input_boolean.manually_operated_light_kitchen
|
||||
- type: button
|
||||
name: Occupants
|
||||
entity: input_number.occupants_kitchen
|
||||
- type: custom:mini-media-player
|
||||
|
||||
###################################################################################################
|
||||
### KITCHEN MAX ########################################################### BUBBLE CARD ###
|
||||
###################################################################################################
|
||||
- type: custom:bubble-card
|
||||
card_type: media-player
|
||||
entity: media_player.kitchen_max
|
||||
artwork: cover
|
||||
grid_options:
|
||||
rows: 2
|
||||
columns: 12
|
||||
scrolling_effect: false
|
||||
show_icon: true
|
||||
show_state: false
|
||||
show_attribute: false
|
||||
hide:
|
||||
play_pause_button: false
|
||||
power_button: true
|
||||
next_button: false
|
||||
previous_button: false
|
||||
volume_button: false
|
||||
card_layout: large
|
||||
cover_background: true
|
||||
sub_button: []
|
||||
name: "Kitchen Max"
|
||||
force_icon: false
|
||||
show_name: true
|
||||
show_last_changed: false
|
||||
double_tap_action:
|
||||
action: none
|
||||
hold_action:
|
||||
action: none
|
||||
styles: |
|
||||
ha-card div.bubble-media-player-container {
|
||||
height: 119px !important;
|
||||
}
|
||||
ha-card div.bubble-cover-background {
|
||||
filter: blur(3px);
|
||||
opacity: 0.4;
|
||||
}
|
||||
ha-card div.bubble-media-player {
|
||||
bottom: 30px;
|
||||
}
|
||||
ha-card div.bubble-media-info-container {
|
||||
display: inline;
|
||||
position: absolute;
|
||||
top: 95px;
|
||||
left: 16px
|
||||
}
|
||||
ha-card div.bubble-name-container {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
ha-icon.bubble-play-pause-button {
|
||||
position: absolute;
|
||||
bottom: -22px;
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
###################################################################################################
|
||||
### KITCHEN LIGHTS ############################################################## POPUP ###
|
||||
###################################################################################################
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:bubble-card
|
||||
card_type: pop-up
|
||||
hash: '#popup-kitchen-light'
|
||||
name: Kitchen
|
||||
icon: mdi:fridge
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
name: Sink
|
||||
entity: light.kitchen_sink_01
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
button_action:
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
name: LED
|
||||
entity: light.kitchen_led_01
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
button_action:
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
name: 'Ceiling #1'
|
||||
entity: light.kitchen_ceiling_01
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
button_action:
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:bubble-card
|
||||
card_type: button
|
||||
button_type: slider
|
||||
name: 'Ceiling #2'
|
||||
entity: light.kitchen_ceiling_02
|
||||
show_state: true
|
||||
tap_action:
|
||||
action: toggle
|
||||
button_action:
|
||||
tap_action:
|
||||
action: toggle
|
||||
|
Reference in New Issue
Block a user