Comments (3)
The trigger waits for one of the action, but if none of the actions is received, it will simply wait there, and block further executions of the automation.
There are two possible solutions for this: Either, briefly explain the problem and recommend using "restart" mode, or extend the example to also handle the "mobile_app_notification_cleared" event.
Actually you can also implement a timeout
too so maybe it makes sense to have a considerations section?
https://www.home-assistant.io/docs/scripts/#wait-timeout
I think the latter makes the example a little bit more helpful, but also more versatile, as the user immediately understands, that he can/should also handle the cleared event.
while it does make sense for android that means we will have to maintain 2 examples as the current example is compliant with iOS too
Let me know if you want me to update the documentation or example-code.
Please feel free to do so, the docs only get better as we all come together to update them :)
from companion.home-assistant.
@dshokouhi : Just a question, since I'm new to contributing to HA: Do I have to ask anyone directly to merge the pull request, or will this happen by itself if someone finds time?
from companion.home-assistant.
@dshokouhi : Just a question, since I'm new to contributing to HA: Do I have to ask anyone directly to merge the pull request, or will this happen by itself if someone finds time?
PR's will get reviewed when one of us finds the time, we get notified when they are submitted :)
from companion.home-assistant.
Related Issues (20)
- The service call widget is not working HOT 1
- Notification to a group does not work as advertised HOT 5
- Ha
- building app minimal version fails HOT 4
- minimal builsd is failing HOT 4
- Add mention on the Sounds page that Android can't do this atm HOT 3
- Black Page opening Hacs and addons page After kast Ha update 2024.3.0 HOT 1
- Blank Pages and freeze + OSError: [Errno 24] Too many open files since the last update 2024.3.0 HOT 1
- Screen is kept alive/on even though option is turned off HOT 1
- Action drop-down HOT 2
- Debug help - logs after crash or crash report access?
- Favorite Entities never show on WearOS watch (Pixel watch) HOT 1
- Allow microphone usage for insecure connections HOT 2
- Back & Hamburger Button on "Error while loading page lovelace." screen malfunction HOT 3
- Complications do not update on TTW (tilt to wake) HOT 1
- Dead Doc Link - Wear OS Setting - Android App
- Searches for Home Assistant Server HOT 3
- Does the home assitant android app have requirements for the android version HOT 5
- Complication does not auto update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from companion.home-assistant.