Somehow the component does not send any messages when triggered. I can see in the log the component is triggered itself, but no message is sent. If i use the done message, it does send that. The documentation states:
ādone_message (Optional): A message sent after an alert transitions from on to off. Is only sent if an alert notification was sent for transitioning from off to on.ā
This really doesnt make sense, since this indicates that the initial message should be sent as wel. Already tried disabling the skip_first option.
Can you please format your code so that it shows the intends properly - see the blue box at the very top.
Otherwise itās impossible for anybody else to see if the spacing might be the issue.
Apart from that my alert is set up exactly the same way and the only other thing I can think of are your notifiers, but Iām sure youāve checked that they work already.
Ok formatted the code, but pretty sure thats okā¦
Notifiers are working fineā¦like i said: if I use the done_message option, it sends it as soon as the garage door closes again. So this means the alert condition was met in the first placeā¦
Looked at it again and it seems like you were right: the formatting looks fine.
The only difference I have in my setup that working is that I use pushbullet and Iām on V059.2 - not sure which version youāre on, though, but it would mean that the component is broken in another version which is hard to believe.
I donāt know which sensor you have so Iām going to suggest the following, go to the developer tools ā states, look for the binary sensor your testing with, in this case, binary_sensor.garagepoort_sensor, cause it to be open, (donāt know if this is a door), and see if it changes to āonā if it doesnāt that will be your problem.
To clarify, the state that you are pulling may be the incorrect one for the automation, for example, I have a sensor that shows āoffā but it never changes, however, a different attribute for the same sensor does change accordingly, so rather than āonā or āoffā it shows 22 for open and 23 for closed.
Garagepoort status (this is the actual sensor), turned on
the 3rd event even triggers another automation which has a state change of the garage sensor from āoffā to āonā as trigger ā> This automation part also sends a notification, which works!
Garage is still open turned on --> This is the actual alert component that is not sending a notification, although it is triggered!
Garagepoort status is off again --> At this point I even get a done_message (if used in the alert component)
So this means:
notofications are working fine
Status change of sensor is from off to on
the actual alert component is triggered!
No idea why the notifiaction is not sentā¦
If I understand this correctly, by setting the skip_first option to false, it should send a notification immediatly, right? But even if i wait 1 minute, still no messageā¦
Your comment made me aware there was an (unintentional) underscore in the nameā¦this was in fact causing the issue :P. Lol, took me few days to figure this outā¦