I created a feature request with the Dream integration to add other notification services.
the dev closed the request and sent me here… with this other link of a list of events the dreame integration has https://github.com/Tasshack/dreame-vacuum/blob/e3c1f0d8da77d9c056d79dd702d158271c6d8ac6/docs/events.md
going to the home assistant docs for events, it does not show how to form an automation with an event, either trigger or action.
going to home assistant docs for triggers, it does show a very basic event trigger
So, I think with the above info, I can at least form a trigger, mabye?
trigger:
- platform: event
event_type: Dreame
event_data:
entity_id: dreame_vacuum_consumable
dunno if event_type is correct, docs show “my_custom_event” do we just make something up?
dunno how to test it, reset all my consumables last week.
even if it works, not sure how to create a simple automation to take the data from the trigger and pass it into the action notification, without creating 30+ automations, 1 for each possible message that could happen.
I found this blueprint to pass 'persistent notifications" to notify service.
here is the useful bits:
action:
- service: notify.mobile_app_[adminuser]
data:
title: '{{ trigger.event.data.service_data.title }}'
message: '{{ trigger.event.data.service_data.message }}'
data:
channel: dreame
Ive already spent an hour and gotten nowhere… gonna have to ask someone smarter for help./