SgtBatten / HA_blueprints

Somewhere to store automation blueprints
151 stars 55 forks source link

[Feature Request]: Post notification action (discussion) #184

Open PovilasID opened 3 months ago

PovilasID commented 3 months ago

Describe what you are trying to accomplish and why in non technical terms I want o be able to upload videos after notification is sent.

Describe the solution you'd like Custom action (multi+single) would be perfect for it except that it executes delays the notification. To upload a clip I have to wait till event is done, so I get notification only then even is done not then it occurs and depending on even it can be 10 minutes. So there are two ways of solving this:

  1. Moving custom actions to be executed after notification is sent. Here is sample https://github.com/PovilasID/HA_blueprints/commit/541bb0d07d14212fdd3c6356f976ba823be73fc3
  2. Adding 'post' notification custom action. You could also allow user users to create multiple custom action with different tags (Manual/Auto/Loop/Post etc.)

Describe alternatives you've considered Customizing code every time to work. Worked well enough for me but I would love to be able to update. Passing it to another automation is also an option that I have not explored though seams to be fragile.

Additional context While testing latest bet (c) I experienced some... strange behavior... notification triggering seemingly without an event or skipping an event... may be connected to my experimentation.