Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Help needed) How to use browser_mod as a trigger for automation #761

Open
5kat3R opened this issue Nov 10, 2024 · 0 comments
Open

(Help needed) How to use browser_mod as a trigger for automation #761

5kat3R opened this issue Nov 10, 2024 · 0 comments

Comments

@5kat3R
Copy link

5kat3R commented Nov 10, 2024

I have a blueprint for my vacuum which updates the map view when the current tab from lovelace is selected. This feature works with all my browsers, not only with one specific browser.
https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/blob/master/blueprints/automation/update_map_extractor.yaml

Now I would like to use the same feature for my electric car. So when I open the lovelace tab: car, it triggers an automation which fetches the data from the server of the car manufacturer.
How can I do this? How can I use lovelace tab in automation as a trigger?
I know how to make it for one browser by using browser_path for specific browser as a trigger, but how to make automation work with every browser which opens the car tab?

@5kat3R 5kat3R changed the title (Help needed) How to user browser_mod as a trigger for automation (Help needed) How to use browser_mod as a trigger for automation Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant