Bonjour;
y a un soucis dans ton code. Ta une ancienne config de browser mod, les options sont différentes.
un exemple:
tap_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
browser_id: THIS
size: normal
style: |-
--popup-min-width: 900px;
--popup-max-width: 1000px;
--popup-border-radius: 10px;
--popup-padding-y: -15px;
--popup-padding-x: 5px;
content:
type: custom:stack-in-card
Ton exemple, corriger:
show_name: true
show_icon: true
type: button
name: Test Button
hold_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
browser_id: THIS
size: normal
style: '--popup-border-radius: 10px'
content:
type: horizontal-stack
cards:
- type: custom:button-card
color: auto
color_type: icon
name: mode Home
show_icon: true
show_label: false
show_last_changed: false
show_name: true
show_state: false
styles:
card:
- border-radius: 10px
- height: 75px
- width: 85px
- margin: 5px 5px 5px 5px
- padding: 0px 0px
grid:
- position: relative
icon:
- position: absolute
- left: 2px
- top: '-15px'
name:
- display: flex
- justify-content: center
- font-variant: small-caps
- font-size: 14px
tap_action:
action: call-service
service: rest_command.mode_home_yeelight1
sur ce post , tu trouvera plein d’exemple Utilisation de Browser_mod