Sure
I don’t have all the customization, but the full floorplan part is working. And the popups started working again (don’t know why they didn’t yesterday)
card:
elements:
- action: none
entity: sun.sun
hold_action:
action: none
state_image:
above_horizon: /local/myFloorplan/floorplan-day.jpg
below_horizon: /local/transparent.png
style:
height: 100%
left: 50%
mix-blend-mode: lighten
opacity: '${ states[''sensor.sunlight_opacity''].state }'
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.sala_candeeiro
hold_action:
action: none
image: /local/myFloorplan/sala-candeeiro-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.sala_candeeiro'].attributes.hs_color
? states['light.sala_candeeiro'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.sala_candeeiro'].state === 'on' ?
(states['light.sala_candeeiro'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.sala_strip
hold_action:
action: none
image: /local/myFloorplan/sala-strip-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.sala_strip'].attributes.hs_color ?
states['light.sala_strip'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.sala_strip'].state === 'on' ?
(states['light.sala_strip'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.hall_1
hold_action:
action: none
image: /local/myFloorplan/hall-on.png
state_filter:
'off': opacity(0%)
'on': opacity(100%)
style:
left: 50%
mix-blend-mode: lighten
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.sala_canto
hold_action:
action: none
image: /local/myFloorplan/sala-lamp-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.sala_canto'].attributes.hs_color ?
states['light.sala_canto'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.sala_canto'].state === 'on' ?
(states['light.sala_canto'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.sofa_1
hold_action:
action: none
image: /local/myFloorplan/sala-sofa-1-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.sofa_1'].attributes.hs_color ?
states['light.sofa_1'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.sofa_1'].state === 'on' ?
(states['light.sofa_1'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.sofa_2
hold_action:
action: none
image: /local/myFloorplan/sala-sofa-2-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.sofa_2'].attributes.hs_color ?
states['light.sofa_2'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.sofa_2'].state === 'on' ?
(states['light.sofa_2'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.tv_1
hold_action:
action: none
image: /local/myFloorplan/sala-tv-1-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.tv_1'].attributes.hs_color ?
states['light.tv_1'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.tv_1'].state === 'on' ?
(states['light.tv_1'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.tv_2
hold_action:
action: none
image: /local/myFloorplan/sala-tv-2-on.png
style:
filter: >-
${ "hue-rotate(" + (states['light.tv_2'].attributes.hs_color ?
states['light.tv_2'].attributes.hs_color[0] : 0) + "deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.tv_2'].state === 'on' ?
(states['light.tv_2'].attributes.brightness / 255) : '0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: light.hall_quarto_lights
hold_action:
action: none
image: /local/myFloorplan/hall-quarto-on.png
state_filter:
'off': opacity(0%)
'on': opacity(100%)
style:
left: 50%
mix-blend-mode: lighten
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: input_boolean.notify_eve_door
hold_action:
action: none
image: /local/myFloorplan/door-open.png
state_filter:
'off': opacity(0%)
'on': opacity(100%)
style:
left: 50%
mix-blend-mode: lighten
top: 50%
width: 100%
tap_action:
action: none
type: image
- action: none
entity: group.quarto
hold_action:
action: none
image: /local/myFloorplan/quarto-on.png
style:
filter: >-
${ "hue-rotate(" +
(states['light.quarto_frente_direita'].attributes.hs_color ?
states['light.quarto_frente_direita'].attributes.hs_color[0] : 0) +
"deg)"}
left: 50%
mix-blend-mode: lighten
opacity: >-
${states['light.quarto_frente_direita'].state === 'on' ?
(states['light.quarto_frente_direita'].attributes.brightness / 255) :
'0'}
top: 50%
width: 100%
tap_action:
action: none
type: image
- entity: group.livingroom
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: group.livingroom
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards:
- brightness: false
color_picker: false
effects_list: false
entity: group.livingroom
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
- brightness: false
color_temp: false
entity: group.livingroom
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: group.livingroom
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 2
layout: horizontal
max_width:
- 60%
- 40%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: Living Room
image: /local/transparent.png
style:
height: 25%
left: 23%
top: 57%
width: 34%
tap_action:
action: call-service
service: homeassistant.toggle
service_data:
entity_id: group.livingroom
type: image
- entity: group.quarto
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: group.quarto
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards:
- brightness: false
color_picker: false
effects_list: false
entity: group.quarto
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
- brightness: false
color_temp: false
entity: group.quarto
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: group.quarto
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 2
layout: horizontal
max_width:
- 60%
- 40%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: Quarto
image: /local/transparent.png
style:
height: 23%
left: 81%
top: 44%
width: 22.7%
tap_action:
action: call-service
service: homeassistant.toggle
service_data:
entity_id: group.quarto
type: image
- entity: light.hall_quarto_lights
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: light.hall_quarto_lights
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards: null
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: light.hall_quarto_lights
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 1
layout: horizontal
max_width:
- 100%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: Hall Quarto
image: /local/transparent.png
style:
height: 25%
left: 64%
top: 60.5%
width: 10%
tap_action:
action: toggle
type: image
- entity: light.hall_lights
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: light.hall_lights
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards: null
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: light.hall_lights
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 1
layout: horizontal
max_width:
- 100%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: Entrada
image: /local/transparent.png
style:
height: 13.5%
left: 48%
top: 53%
width: 18%
tap_action:
action: call-service
service: homeassistant.toggle
service_data:
entity_id: light.hall_lights
type: image
- entity: light.sala_candeeiro
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: light.sala_candeeiro
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards:
- brightness: false
color_picker: false
effects_list: false
entity: light.sala_candeeiro
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
- brightness: false
color_temp: false
entity: light.sala_candeeiro
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: light.sala_candeeiro
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 2
layout: horizontal
max_width:
- 60%
- 40%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: Candeeiro
icon: 'mdi:lamp'
style:
'--iron-icon-height': 1.7vw
'--iron-icon-width': 1.7vw
'--paper-item-icon-active-color': '#000000'
'--paper-item-icon-color': darkgrey
align-items: center
background-color: '#FFFFFF'
border-radius: 100%
box-shadow: '0px 0px 28px 0px rgba(0,0,0,0.39)'
display: flex
height: 3vw
justify-content: center
left: 12.5%
margin-left: '-1.5vw'
margin-top: '-1.5vw'
top: 70%
transform: scale(1.2)
width: 3vw
z-index: 5
tap_action:
action: toggle
type: state-icon
- entity: light.sala_canto
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: light.sala_canto
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards:
- brightness: false
color_picker: false
effects_list: false
entity: light.sala_canto
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
- brightness: false
color_temp: false
entity: light.sala_canto
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: light.sala_canto
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 2
layout: horizontal
max_width:
- 60%
- 40%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: Floor Light
icon: 'mdi:lightbulb'
style:
'--iron-icon-height': 1.7vw
'--iron-icon-width': 1.7vw
'--paper-item-icon-active-color': '#000000'
'--paper-item-icon-color': darkgrey
align-items: center
background-color: '#FFFFFF'
border-radius: 100%
box-shadow: '0px 0px 28px 0px rgba(0,0,0,0.39)'
display: flex
height: 3vw
justify-content: center
left: 26%
margin-left: '-1.5vw'
margin-top: '-1.5vw'
top: 40%
transform: scale(1.2)
width: 3vw
z-index: 5
tap_action:
action: toggle
type: state-icon
- entity: light.sala_strip
hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
cards:
- entities:
- entity: light.sala_strip
secondary_info: last-changed
style:
z-index: 5
type: entities
- cards:
- cards:
- brightness: false
color_picker: false
effects_list: false
entity: light.sala_strip
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
- brightness: false
color_temp: false
entity: light.sala_strip
full_width_sliders: true
header: false
persist_features: true
show_slider_percent: false
smooth_color_wheel: true
style: |
ha-card {
box-shadow: none !important;
}
type: 'custom:light-entity-card'
column_height: 1
layout: vertical
type: 'custom:layout-card'
- entities:
- color_temp: true
entity: light.sala_strip
header: false
persist_features: true
type: 'custom:light-slider-card'
show_header_toggle: false
style: |
:host{
height: 100%;
z-index: 0;
}
ha-card {
box-shadow: none !important;
}
type: entities
column_num: 2
layout: horizontal
max_width:
- 60%
- 40%
type: 'custom:layout-card'
type: 'custom:vertical-stack-in-card'
deviceID:
- this
style:
'--ha-card-border-radius': 0vw 0vw 0.8vw 0.8vw
border-radius: 0.8vw
opacity: 0.9
title: TV Strip
icon: 'mdi:led-strip-variant'
style:
'--iron-icon-height': 1.7vw
'--iron-icon-width': 1.7vw
'--paper-item-icon-active-color': '#000000'
'--paper-item-icon-color': darkgrey
align-items: center
background-color: '#FFFFFF'
border-radius: 100%
box-shadow: '0px 0px 28px 0px rgba(0,0,0,0.39)'
display: flex
height: 3vw
justify-content: center
left: 16%
margin-left: '-1.5vw'
margin-top: '-1.5vw'
top: 40%
transform: scale(1.2)
width: 3vw
z-index: 5
tap_action:
action: toggle
type: state-icon
- entity: binary_sensor.sensor_hall
icon: 'mdi:walk'
state_filter:
'off': opacity(0%)
'on': opacity(100%)
style:
'--iron-icon-height': 1.7vw
'--iron-icon-width': 1.7vw
'--paper-item-icon-active-color': '#ff0000'
'--paper-item-icon-color': darkgrey
align-items: center
background-color: '#FFFFFF'
border-radius: 100%
box-shadow: '0px 0px 28px 0px rgba(0,0,0,0.39)'
display: flex
height: 3vw
justify-content: center
left: 40%
margin-left: '-1.5vw'
margin-top: '-1.5vw'
top: 40%
transform: scale(1.2)
width: 3vw
z-index: 5
tap_action:
action: more-info
type: state-icon
- entity: binary_sensor.sensor_hall_quarto
icon: 'mdi:walk'
state_filter:
'off': opacity(0%)
'on': opacity(100%)
style:
'--iron-icon-height': 1.7vw
'--iron-icon-width': 1.7vw
'--paper-item-icon-active-color': '#ff0000'
'--paper-item-icon-color': darkgrey
align-items: center
background-color: '#FFFFFF'
border-radius: 100%
box-shadow: '0px 0px 28px 0px rgba(0,0,0,0.39)'
display: flex
height: 3vw
justify-content: center
left: 63%
margin-left: '-1.5vw'
margin-top: '-1.5vw'
top: 80%
transform: scale(1.2)
width: 3vw
z-index: 5
tap_action:
action: more-info
type: state-icon
- entity: sensor.sensor_quarto
style:
'--iron-icon-height': 1.7vw
'--iron-icon-width': 1.7vw
'--paper-item-icon-active-color': '#ff0000'
'--paper-item-icon-color': darkgrey
align-items: center
background-color: '#FFFFFF'
border-radius: 100%
box-shadow: '0px 0px 28px 0px rgba(0,0,0,0.39)'
color: darkgrey
display: flex
font-size: 0.6vw
height: 3vw
justify-content: center
left: 81%
margin-left: '-1.5vw'
margin-top: '-1.5vw'
top: 25%
transform: scale(1.2)
width: 3vw
z-index: 5
tap_action:
action: more-info
type: state-label
image: /local/myFloorplan/floorplan-night.jpg
style: |
ha-card:first-child {
background: rgba(42, 46, 48, 1)
}
type: 'custom:hui-picture-elements-card'
entities:
- light.hall_lights
- light.hall_1
- light.hall_2
- light.hall_quarto_lights_lights
- light.hall_quarto_1
- light.hall_quarto_2
- null
- light.quarto_lights
- light.quarto_frente_direita
- light.quarto_frente_esquerda
- light.quarto_tras_direita
- light.quarto_tras_esquerda
- light.sala_candeeiro
- light.sala_canto
- light.sofa_1
- light.sofa_2
- light.sala_strip
- light.tv_1
- light.tv_2
- group.quarto
- group.livingroom
- input_boolean.notify_eve_door
- binary_sensor.sensor_hall
- binary_sensor.sensor_hall_quarto
- sensor.sensor_quarto
type: 'custom:config-template-card'