Trying to take advantage of the new trigger id, all seems to work until I have added in a repeat / until function. This seems to break it all. please help.
binary_sensor.garden_gate appears in both trigger ids. So the second choose option will never occur as the first chose option will always happen instead. If you want two separate choose cases instead of a “do one thing or another” you need to specify it like this:
I don’t mean to spoil your sunny Saturday but the automation you posted still contains a syntax error.
I pasted it into my test system and ran Check Configuration. As expected, it reported the following error:
Logger: homeassistant.config
Source: config.py:443
First occurred: 09:39:40 (1 occurrences)
Last logged: 09:39:40
Invalid config for [automation]: [repeat] is an invalid option for [automation]. Check: automation->action->0->choose->1->repeat. (See ?, line ?).
The error is precisely what I described in my previous post.
Thanks very much for this! I gave it a go, but it only seems to trigger the notification once. I might be wrong but it does not seem to get into a loop.
@paddy0174 had a look at Alerts seem the way forward if you don’t have an Android phone like me Alerts don’t come in until I unlock the phone grr…
I am going to try and push forward and work out what I am missing in @123 post.
Thanks for the help guys and sorry I have only just gotten back to you all.
What do you mean? You get the notification in Android only after you unlock your phone? Then something isn’t configured correctly.
I’m running an excessive notification management that includes five Android phones, a few TVs and a few Android tablets. In all of them the alerts come up right when they “land” on the phones (or TVs or tablets).
Hey Paddy, I have got the Alert’s working ish I believe it is due to the fact I have a Samsung S10.
When I run a test notification, in the dev tools section of HA it works fine.
When I unlock the phone I do get the message but don’t get the option to acknowledge etc.
Do you know if it is possible in Alerts to change the priority or should I just set this up with a Boolean switch and make my own notifications?
The notification that is send, in my case via a group; I deleted some of my entries, just for clarity.
notify:
- platform: group
name: notification_refrigerator_high
services:
- service: mobile_app_paddy
data:
message: >
The fridge is using too much power...
data:
actions:
- action: "refrigerator_alarm"
title: "Cancel alarm"
And this is the automation I’m using to disable the alert, if I push the button on my notification on the phone.