Update to the current version
Some checks failed
Savin's Home Assistant / build (push) Failing after 1m45s

This commit is contained in:
2025-05-11 16:06:31 -04:00
parent d45649f8b8
commit 26d86dec90
55 changed files with 10355 additions and 2245 deletions

View File

@ -1,397 +1,528 @@
---
title: Living Room
icon: mdi:sofa
icon: 'mdi:sofa'
panel: true
visible:
- user: 1614b22cbef54f979741cf8a6b3413ec # Alex
- user: 76e8af2547254ef0ab523ae1ad0bf81a # Tanya
- user: 1614b22cbef54f979741cf8a6b3413ec
- user: 76e8af2547254ef0ab523ae1ad0bf81a
cards:
- type: custom:layout-card
layout: vertical
- type: 'custom:layout-card'
layout_type: 'custom:vertical-layout'
layout:
max_cols: 3
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
- type: 'custom:mushroom-chips-card'
chips:
- type: template
icon: "{% if is_state('binary_sensor.presence_living_room_sensor_1', 'on') -%}mdi:account-multiple{%- else -%}mdi:account-off-outline{%- endif %}"
icon_color: "{% if is_state('binary_sensor.presence_living_room_sensor_1', 'on') -%} #FFC107 {%- else -%} #44739E {%- endif %}"
badge_icon: mdi:numeric-1-circle
icon: >-
{% if is_state('binary_sensor.presence_living_room_sensor_1',
'on') -%}mdi:account-multiple{%- else
-%}mdi:account-off-outline{%- endif %}
icon_color: >-
{% if is_state('binary_sensor.presence_living_room_sensor_1',
'on') -%} #FFC107 {%- else -%} #44739E {%- endif %}
badge_icon: 'mdi:numeric-1-circle'
badge_color: green
entity: binary_sensor.presence_living_room_sensor_1
tap_action:
action: more-info
- type: template
icon: "{% if is_state('binary_sensor.window_living_room_front_left_01_contact', 'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif %}"
icon_color: "{% if is_state('binary_sensor.window_living_room_front_left_01_contact', 'on') -%}#FFC107{%- else -%}#44739E{%- endif %}"
icon: >-
{% if
is_state('binary_sensor.window_living_room_front_left_01_contact',
'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.window_living_room_front_left_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.window_living_room_front_left_01_contact
tap_action:
action: more-info
- type: template
icon: "{% if is_state('binary_sensor.window_living_room_front_center_01_contact', 'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif %}"
icon_color: "{% if is_state('binary_sensor.window_living_room_front_center_01_contact', 'on') -%}#FFC107{%- else -%}#44739E{%- endif %}"
icon: >-
{% if
is_state('binary_sensor.window_living_room_front_center_01_contact',
'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.window_living_room_front_center_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.window_living_room_front_center_01_contact
tap_action:
action: more-info
- type: template
icon: "{% if is_state('binary_sensor.window_living_room_front_right_01_contact', 'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif %}"
icon_color: "{% if is_state('binary_sensor.window_living_room_front_right_01_contact', 'on') -%}#FFC107{%- else -%}#44739E{%- endif %}"
icon: >-
{% if
is_state('binary_sensor.window_living_room_front_right_01_contact',
'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.window_living_room_front_right_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.window_living_room_front_right_01_contact
tap_action:
action: more-info
- type: template
icon: "{% if is_state('binary_sensor.window_living_room_side_01_contact', 'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif %}"
icon_color: "{% if is_state('binary_sensor.window_living_room_side_01_contact', 'on') -%}#FFC107{%- else -%}#44739E{%- endif %}"
icon: >-
{% if
is_state('binary_sensor.window_living_room_side_01_contact',
'on') -%}mdi:window-open{%- else -%}mdi:window-closed{%- endif
%}
icon_color: >-
{% if
is_state('binary_sensor.window_living_room_side_01_contact',
'on') -%}#FFC107{%- else -%}#44739E{%- endif %}
entity: binary_sensor.window_living_room_side_01_contact
tap_action:
action: more-info
- type: template
icon: "{% if is_state('binary_sensor.smoke_living_room_01_smoke', 'on') -%}mdi:smoke-detector-variant-alert{%- else -%}mdi:smoke-detector-variant{%- endif %}"
icon_color: "{% if is_state('binary_sensor.smoke_living_room_01_smoke', 'on') -%}#D40909{%- else -%}#44739E{%- endif %}"
icon: >-
{% if is_state('binary_sensor.smoke_living_room_01_smoke',
'on') -%}mdi:smoke-detector-variant-alert{%- else
-%}mdi:smoke-detector-variant{%- endif %}
icon_color: >-
{% if is_state('binary_sensor.smoke_living_room_01_smoke',
'on') -%}#D40909{%- else -%}#44739E{%- endif %}
entity: binary_sensor.smoke_living_room_01_smoke
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.living_room_light_state
name: Living Room
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.living_room_scenes
option: "All"
styles:
button:
color: "{% if is_state('input_boolean.living_room_light_state', 'on') and is_state('input_select.living_room_scenes', 'All') %}#FFC107{% else %}#44739E{% endif %}"
background-color: "{% if is_state('input_boolean.living_room_light_state', 'on') and is_state('input_select.living_room_scenes', 'All') %}#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.living_room_scenes
option: "Ceiling Only"
styles:
button:
color: "{% if is_state('input_boolean.living_room_light_state', 'on') and is_state('input_select.living_room_scenes', 'Ceiling Only') %}#FFC107{% else %}#44739E{% endif %}"
background-color: "{% if is_state('input_boolean.living_room_light_state', 'on') and is_state('input_select.living_room_scenes', 'Ceiling Only') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
- layout: icon
icon: mdi:floor-lamp-torchiere
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.living_room_scenes
option: "Floor Only"
styles:
button:
color: "{% if is_state('input_boolean.living_room_light_state', 'on') and is_state('input_select.living_room_scenes', 'Floor Only') %}#FFC107{% else %}#44739E{% endif %}"
background-color: "{% if is_state('input_boolean.living_room_light_state', 'on') and is_state('input_select.living_room_scenes', 'Floor Only') %}#FFF3D7{% else %}#F4F4F4{% endif %}"
- type: 'custom:bubble-card'
card_type: separator
icon: 'mdi:sofa'
sub_button:
- name: Temp
icon: 'mdi:thermometer-lines'
entity: sensor.climate_living_room_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_living_room_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_living_room_light_level
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: horizontal-stack
cards:
- type: custom:mini-graph-card
# name: Temperature
line_color: orange
font_size: 75
font_size_header: 12
entities:
- entity: sensor.climate_living_room_01_temperature
# name: Temperature
hours_to_show: 24
points_per_hour: 4
align_icon: state
align_state: left
show:
name: false
- type: custom:mini-graph-card
# name: Humidity
line_color: blue
font_size: 75
font_size_header: 12
entities:
- entity: sensor.climate_living_room_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_living_room_light_level
# name: Illuminance
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.living_room_ceiling_all
name: All Ceiling Lings
icon: mdi:ceiling-light-multiple
show_brightness_control: true
collapsible_controls: true
use_light_color: true
- type: custom:mushroom-light-card
entity: light.living_room_floor_lamp_01
name: Floor Lamp
icon: mdi:floor-lamp-torchiere-outline
show_brightness_control: true
collapsible_controls: true
use_light_color: true
- type: horizontal-stack
cards:
- type: custom:mushroom-light-card
entity: light.living_room_ceiling_group_1
name: 'Ceiling 1 (Couch)'
icon: mdi:ceiling-light-multiple
show_brightness_control: true
collapsible_controls: true
use_light_color: true
- type: custom:mushroom-light-card
entity: light.living_room_ceiling_group_2
name: 'Ceiling 2 (TV)'
icon: mdi:ceiling-light-multiple
show_brightness_control: true
collapsible_controls: true
use_light_color: true
- type: horizontal-stack
cards:
- type: custom:mushroom-light-card
entity: light.living_room_tiles_01
name: 'Tile'
icon: mdi:star-box-multiple
show_brightness_control: true
collapsible_controls: true
use_light_color: true
- type: custom:mushroom-light-card
entity: light.living_room_strip_01
name: 'LED Strip'
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.christmas_tree
name: 'Christmas Tree'
icon: mdi:string-lights
show_brightness_control: false
collapsible_controls: false
use_light_color: false
- type: custom:layout-break
- type: vertical-stack
- type: 'custom:bubble-card'
card_type: button
button_type: switch
name: Occupancy
entity: input_boolean.occupancy_living_room
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.living_room_01_person_count
icon: 'mdi:account-group'
show_state: false
show_background: true
- entity: sensor.living_room_01_cat_count
icon: 'mdi:cat'
show_state: false
show_background: true
- icon: 'mdi:brightness-auto'
entity: input_boolean.manually_operated_light_living_room
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.living_room_01_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.living_room_01_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_living_room'].state === 'on' ? 'mdi:hand-front-right' : 'mdi:brightness-auto')}
- type: 'custom:bubble-card'
card_type: button
button_type: switch
name: Light
entity: input_boolean.living_room_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-living-room-light'
sub_button:
- icon: 'mdi:lightbulb-group'
entity: scene.living_room_all
show_state: false
show_background: true
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.living_room_scenes
option: All
- icon: 'mdi:ceiling-light-multiple'
entity: scene.living_room_ceiling_only
show_state: false
show_background: true
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.living_room_scenes
option: Ceiling Only
- icon: 'mdi:ceiling-light-multiple'
entity: scene.living_room_ceiling_group_1_only
show_state: false
show_background: true
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.living_room_scenes
option: Ceiling Group 1 Only
- icon: 'mdi:ceiling-light-multiple'
entity: scene.living_room_ceiling_group_2_only
show_state: false
show_background: true
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.living_room_scenes
option: Ceiling Group 2 Only
- icon: 'mdi:floor-lamp-torchiere-outline'
entity: scene.living_room_floor_only
show_state: false
show_background: true
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.living_room_scenes
option: Floor Only
styles: |
.bubble-sub-button-1 > ha-icon {
color: ${hass.states['input_select.living_room_scenes'].state === 'All' ? 'rgb(255, 152, 0)' : ''} !important;
}
.bubble-sub-button-2 > ha-icon {
color: ${hass.states['input_select.living_room_scenes'].state === 'Ceiling Only' ? 'rgb(255, 152, 0)' : ''} !important;
}
.bubble-sub-button-3 > ha-icon {
color: ${hass.states['input_select.living_room_scenes'].state === 'Ceiling Group 1 Only' ? 'rgb(255, 152, 0)' : ''} !important;
}
.bubble-sub-button-4 > ha-icon {
color: ${hass.states['input_select.living_room_scenes'].state === 'Ceiling Group 2 Only' ? 'rgb(255, 152, 0)' : ''} !important;
}
.bubble-sub-button-5 > ha-icon {
color: ${hass.states['input_select.living_room_scenes'].state === 'Floor Only' ? 'rgb(255, 152, 0)' : ''} !important;
}
- type: 'custom:layout-break'
- type: 'vertical-stack'
cards:
- type: 'custom:webrtc-camera'
url: 'rtsp://10.10.11.110:8554/living-room-01'
title: 'Living Room 1'
title: Living Room 1
muted: true
mode: webrtc,mse
mode: 'webrtc,mse'
- type: 'custom:webrtc-camera'
url: 'rtsp://10.10.11.110:8554/living-room-02'
title: 'Living Room 2'
title: Living Room 2
muted: true
mode: webrtc,mse
- type: custom:layout-break
- type: vertical-stack
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_living_room
- type: custom:button-card
name: Operating Mode
entity: input_boolean.manually_operated_light_living_room
state:
- value: 'on'
icon: mdi:hand-front-right
color: orange
- value: 'off'
icon: mdi:brightness-auto
- type: button
name: Occupants
entity: input_number.occupants_living_room
- type: custom:mini-media-player
entity: media_player.pioneer_vsx_lx505_f5bae6
artwork: cover
# - type: custom:mini-media-player
# entity: media_player.living_room_pair
# artwork: cover
- type: custom:mini-media-player
- type: 'custom:mini-media-player'
entity: media_player.living_room_speaker
artwork: cover
# - type: custom:mini-media-player
# entity: media_player.living_room_max_1
# artwork: cover
# - type: custom:mini-media-player
# entity: media_player.living_room_max_2
# artwork: cover
- type: custom:mini-media-player
entity: media_player.living_room_1
artwork: cover
- type: custom:mini-media-player
entity: media_player.nvidia_shield_tv_living_room
artwork: cover
- type: media-control
entity: media_player.onkyo_receiver
- type: 'custom:bubble-card'
card_type: button
entity: remote.living_room_harmony_hub
tap_action:
action: toggle
button_action:
tap_action:
action: more-info
sub_button:
- entity: select.living_room_harmony_hub_activities
name: TV
icon: 'mdi:television'
show_background: true
show_state: false
tap_action:
action: select.select_option
data:
option: ShTV+AVR+TV
- entity: select.living_room_harmony_hub_activities
name: Projector
icon: 'mdi:projector'
show_background: true
show_state: false
tap_action:
action: select.select_option
data:
option: ShTV+AVR+Prj
styles: >
.bubble-button-background {
opacity: 1 !important;
background-color: ${ state === 'on' ? 'var(--light-theme-disabled-color)' : 'var(--light-theme-disabled-color)' } !important;
}
/* .bubble-button-card-container { background-color: ${state === 'on' ? 'rgb(255, 150, 0)' : ''} !important; opacity: 1 !important; } */
.bubble-sub-button-1 {
background-color: white !important;
}
.bubble-sub-button-1 > ha-icon {
color: ${ hass.states['remote.living_room_harmony_hub'].attributes.current_activity === 'ShTV+AVR+TV' ? 'rgb(255, 152, 0)' : '' } !important;
}
.bubble-sub-button-2 {
background-color: white !important;
}
.bubble-sub-button-2 > ha-icon {
color: ${ hass.states['remote.living_room_harmony_hub'].attributes.current_activity === 'ShTV+AVR+Prj' ? 'rgb(255, 152, 0)' : '' } !important;
}
- type: conditional
conditions:
- condition: state
entity: media_player.onkyo_receiver
state: "on"
- entity: remote.living_room_harmony_hub
state: 'on'
card:
type: horizontal-stack
cards:
- name: Nvidia ShieldTV
entity: script.receiver_switch_to_shield_tv
type: button
icon: mdi:youtube-tv
tap_action:
action: toggle
hold_action:
action: more-info
show_name: false
show_icon: true
color: "{% if state_attr('media_player.onkyo_receiver', 'source') == 'Nvidia Shield TV' -%}#FFC107{%- else -%}#44739E{%- endif %}"
color_type: icon
- name: PS4
entity: script.receiver_switch_to_playstation
type: button
icon: mdi:sony-playstation
tap_action:
action: toggle
hold_action:
action: more-info
show_name: false
show_icon: true
- name: Win11
entity: script.receiver_switch_to_windows
type: button
icon: mdi:microsoft-windows
tap_action:
action: toggle
show_name: false
show_icon: true
type: 'custom:bubble-card'
card_type: button
button_type: switch
card_layout: normal
name: Pioneer VSX-LX505
entity: media_player.onkyo_receiver
icon: 'mdi:audio-video'
show_state: true
show_background: false
show_attribute: true
attribute: source
button_action:
tap_action: null
action: toggle
sub_button:
- entity: script.receiver_switch_to_shield_tv
icon: 'mdi:television-classic'
show_background: true
show_state: false
- name: Cameras
entity: script.receiver_switch_to_security
type: button
icon: mdi:camera-wireless
tap_action:
action: toggle
hold_action:
action: more-info
show_name: false
show_icon: true
- type: conditional
conditions:
- condition: state
entity: media_player.onkyo_receiver
state: "on"
- condition: state
entity: switch.onkyo_source_nvidia_shield_tv
state: "on"
card:
type: horizontal-stack
cards:
- name: youtube
entity: switch.android_tv_youtube
type: button
icon: mdi:youtube
- entity: script.receiver_switch_to_playstation
icon: 'mdi:controller'
show_background: true
show_state: false
tap_action:
action: toggle
hold_action:
action: more-info
show_name: false
show_icon: true
- name: Netflix
entity: switch.android_tv_netflix
type: button
icon: mdi:netflix
- entity: script.receiver_switch_to_security
icon: 'mdi:camera-metering-matrix'
show_background: true
show_state: false
tap_action:
action: toggle
hold_action:
action: more-info
show_name: false
show_icon: true
- name: Plex
entity: switch.android_tv_plex
type: button
icon: mdi:plex
- entity: script.receiver_switch_to_windows
icon: 'mdi:laptop'
show_background: true
show_state: false
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 {
display: ${hass.states['media_player.onkyo_receiver'].state === 'off' ? 'none' : ''} !important;
}
.bubble-sub-button-1 > ha-icon {
color: ${ hass.states['media_player.onkyo_receiver'].attributes.source === 'Nvidia Shield TV' ? 'rgb(255, 152, 0)' : '' } !important;
}
.bubble-sub-button-2 {
display: ${hass.states['media_player.onkyo_receiver'].state === 'off' ? 'none' : ''} !important;
}
.bubble-sub-button-2 > ha-icon {
color: ${ hass.states['media_player.onkyo_receiver'].attributes.source === 'PlayStation 4 Pro' ? 'rgb(255, 152, 0)' : '' } !important;
}
.bubble-sub-button-3 {
display: ${hass.states['media_player.onkyo_receiver'].state === 'off' ? 'none' : ''} !important;
}
.bubble-sub-button-3 > ha-icon {
color: ${ hass.states['media_player.onkyo_receiver'].attributes.source === 'Unifi Protect' ? 'rgb(255, 152, 0)' : '' } !important;
}
.bubble-sub-button-4 {
display: ${hass.states['media_player.onkyo_receiver'].state === 'off' ? 'none' : ''} !important;
}
.bubble-sub-button-4 > ha-icon {
color: ${ hass.states['media_player.onkyo_receiver'].attributes.source === 'Windows 11' ? 'rgb(255, 152, 0)' : '' } !important;
}
- type: 'custom:bubble-card'
card_type: button
entity: media_player.nvidia_shield_tv_living_room_2
sub_button:
- entity: switch.android_tv_youtube
icon: 'mdi:youtube'
show_background: true
show_state: false
tap_action:
action: toggle
- entity: switch.android_tv_netflix
icon: 'mdi:netflix'
show_background: true
show_state: false
tap_action:
action: toggle
- entity: switch.android_tv_plex
icon: 'mdi:plex'
show_background: true
show_state: false
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 {
display: ${hass.states['media_player.nvidia_shield_tv_living_room_2'].state === 'off' ? 'none' : ''} !important;
background-color: white !important;
}
.bubble-sub-button-1 > ha-icon {
color: ${ hass.states['media_player.nvidia_shield_tv_living_room_2'].attributes.app_id === 'com.google.android.youtube.tv' ? 'rgb(255, 152, 0)' : '' } !important;
}
.bubble-sub-button-2 {
display: ${hass.states['media_player.nvidia_shield_tv_living_room_2'].state === 'off' ? 'none' : ''} !important;
background-color: white !important;
}
.bubble-sub-button-2 > ha-icon {
color: ${ hass.states['media_player.nvidia_shield_tv_living_room_2'].attributes.app_id === 'com.netflix.ninja' ? 'rgb(255, 152, 0)' : '' } !important;
}
.bubble-sub-button-3 {
display: ${hass.states['media_player.nvidia_shield_tv_living_room_2'].state === 'off' ? 'none' : ''} !important;
background-color: white !important;
}
.bubble-sub-button-3 > ha-icon {
color: ${ hass.states['media_player.nvidia_shield_tv_living_room_2'].attributes.app_id === 'com.plexapp.android' ? 'rgb(255, 152, 0)' : '' } !important;
}
- type: vertical-stack
cards:
- type: 'custom:bubble-card'
card_type: pop-up
hash: '#popup-living-room-light'
name: Kitchen
icon: 'mdi:fridge'
- type: 'custom:bubble-card'
card_type: button
button_type: slider
name: All Ceiling Lights
entity: light.living_room_ceiling_all
show_state: true
tap_action:
action: toggle
button_action:
tap_action:
action: toggle
- type: 'custom:bubble-card'
card_type: button
button_type: slider
name: Floor Lamp
entity: light.living_room_floor_lamp
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 (Couch)
entity: light.living_room_ceiling_group_1
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 (TV)
entity: light.living_room_ceiling_group_2
show_state: true
tap_action:
action: toggle
button_action:
tap_action:
action: toggle
- type: 'custom:bubble-card'
card_type: button
button_type: slider
name: Tile
entity: light.living_room_tiles_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 Strip
entity: light.living_room_strip_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: Christmas Tree
entity: light.christmas_tree
show_state: true
tap_action:
action: toggle
button_action:
tap_action:
action: toggle
hold_action:
action: more-info
show_name: false
show_icon: true
# - name: Go to sleep
# entity: script.sleep
# type: button
# tap_action:
# action: toggle
# icon: mdi:sleep
# hold_action:
# action: more-info
# show_name: true
# show_icon: true
- type: media-control
entity: media_player.playstation_4_pro
- type: entities
entities:
- remote.living_room_harmony_hub
- select.living_room_harmony_hub_activities