benct / lovelace-xiaomi-vacuum-card

Simple card for various robot vacuums in Home Assistant's Lovelace UI
MIT License
264 stars 37 forks source link

Support action fire-dom-event #113

Open breti opened 1 year ago

breti commented 1 year ago

Is your feature request related to a problem? Please describe. browser_mod switching to fire-dom-event away from call-service for popups, toasts, etc., see release notes: https://github.com/thomasloven/hass-browser_mod/releases/tag/1.3.0

Describe the solution you'd like Implement support for action: fire-dom-event as button tap_action

Describe alternatives you've considered With "service: browser_mod.popup" the popup cannot be opened on the current browser, but this would be very useful, for example, to display the map in a popup with a button. See https://github.com/thomasloven/hass-browser_mod/issues/238

Additional context Thank you :-)

Partly stolen from custom-cards/button-card#429 😄