AlexandrErohin / home-assistant-flightradar24

Flightradar24 integration for Home Assistant
https://community.home-assistant.io/t/custom-component-flightradar24
MIT License
137 stars 15 forks source link

Is it possible to identify which device triggered the event? #21

Closed igorsantos07 closed 7 months ago

igorsantos07 commented 7 months ago

This was mentioned in #11, but since it's just tangentially related, I'm posting a separate issue: the problem is exactly what was mentioned there, there's no way to identify which place triggered the event. It would be helpful to create more meaningful notifications, for instance.

In the meantime, I'll try checking about moving the automation out of events and maybe post here an example.

motoridersd commented 7 months ago

What are you trying to do? If you have more than one entry of the integration, with different areas/radii, you get 3 sensors for each.

igorsantos07 commented 7 months ago

Use the example from the docs.

This other person said the same thing.

AlexandrErohin commented 7 months ago

Added tracked_by_device to events to know what device has fired the event