Hello ppl after update to HA 2022.3.x my dashboard stopped working properly
I have some input_select inside of horizontal-stack and It doesn’t open under elements, it opens up of and pushes everything down:
Closed:
Open
it becomes unusable
My YAML is:
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
title: Acções Rápidas
cards:
- type: custom:button-card
name: Fechar
icon: mdi:window-closed
tap_action:
action: call-service
service: cover.set_cover_position
service_data:
entity_id: all
position: 0
- type: custom:button-card
name: Entreaberto
icon: mdi:window-open
tap_action:
action: call-service
service: cover.set_cover_position
service_data:
entity_id: all
position: 20
- type: custom:button-card
name: 50%
icon: mdi:window-open
tap_action:
action: call-service
service: cover.set_cover_position
service_data:
entity_id: all
position: 50
- type: custom:button-card
name: Aberto
icon: mdi:window-open
tap_action:
action: call-service
service: cover.set_cover_position
service_data:
entity_id: all
position: 100
- type: custom:vertical-stack-in-card
cards:
- type: horizontal-stack
cards:
- type: entities
entities:
- input_select.estores_quartos_sala_actions
- type: entities
entities:
- input_select.estore_cozinha_actions
- type: divider
- type: horizontal-stack
cards:
- type: custom:button-card
entity: switch.carregador_tablet
name: Tablet
styles:
grid:
- position: relative
custom_fields:
notification:
- background-color: >
[[[
if (states['sensor.energia_entrada_power_2'].state >= 9)
return "#b3ffba";
return "#f08181";
]]]
- color: "#000000"
- border-radius: 50%
- position: absolute
- left: 60%
- top: 5%
- height: 30px
- width: 30px
- font-size: 11px
- font-weight: bold
- line-height: 30px
- visibility: >
[[[
if (entity.state >= "on")
return "visible";
return "hidden";
]]]
percent:
- color: --mdc-theme-on-primary
- position: absolute
- left: 39%
- top: 35%
- height: 30px
- width: 30px
- font-size: 11px
- font-weight: bold
- line-height: 30pxurn "hidden";
custom_fields:
notification: >
[[[ return states['sensor.energia_entrada_power_2'].state + " W"]]]
percent: >
[[[ return states['sensor.tablet_bateria'].state + "%"]]]
icon: mdi:tablet-android
- type: custom:button-card
entity: switch.computador_sala
name: PC Sala
icon: mdi:desktop-classic
- type: custom:button-card
entity: light.luzes_presenca
name: Luzes Presença
icon: mdi:floor-lamp-dual
- type: horizontal-stack
cards:
- type: custom:button-card
aspect_ratio: 4/1
layout: icon_label
label: Desligar tudo
show_label: true
show_name: false
icon: mdi:power
confirmation:
text: '[[[ return `Têm a certeza que deseja desligar tudo?` ]]]'
tap_action:
action: call-service
service: script.desligar_tudo
I think the problem came from this change
any help?
Thanks