i search for a Example or Solution for a input_boolean Button and a Popup.
If i tap on the button, then open the Popup.
Like this wrong code:
input_boolean:
door_cam_popup_toggle:
name: Door Camera Popup Toggle
initial: off
icon: mdi:cctv
tap_action:
action: "fire-dom-event"
browser_mod:
service: "browser_mod.popup"
data:
large: true
hide_header: true
content:
type: "custom:button-card"
template: "card_ing_popup_camera_infos"
entity: "[[[ return entity.entity_id; ]]]"
or i need a other code?
thanks!