-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add Notification model and handle notification event #85
Add Notification model and handle notification event #85
Conversation
Please rebase to solve the merge conflict. |
@raman325 maybe use the same logic to fire the event ? I can adjust my PR so it will also forward these events ? |
9450bb4
to
1bb29cf
Compare
The event data will be different but otherwise yeah that makes sense. I was thinking it would be nice eventually to tie these events to the primary "entity" but that might be easier said than done. |
Entities don't fire events, besides the built in state changed events, in Home Assistant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we happy to merge?
sure I meant add entity_id as part of the event data to use as criteria for automations |
We can discuss that. |
I plan to submit a PR similar to home-assistant/core#45729 where we fire an event when a notification is received for a node.