I used browser_mod.popup to create a popup with multiple blind controls.
It works perfectly when used with a button card.
But when I apply the same action to a state-icon in a picture element card it doesn’t trigger the browser_mod.popup it just opens the more-info pane:
- type: state-icon
entity: input_boolean.blinds
style:
top: 18.6%
left: 94.6%
'--mdc-icon-size': 60px
tab_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
dismissable: true
autoclose: false
title: Test
content:
type: entities
entities:
- cover.blinds_entrance
- cover.blinds_lunch
- cover.blinds_kitchen
right_button: All UP
left_button: All DOWN
right_button_action:
service: cover.open_cover
data:
entity_id:
- cover.blinds_entrance
- cover.blinds_lunch
- cover.blinds_kitchen
left_button_action:
service: cover.close_cover
data:
entity_id:
- cover.blinds_entrance
- cover.blinds_lunch
- cover.blinds_kitchen
results in this popup, not the browser_mod.popup