h4nc
1
Can someone tell me why this works:
in alerts.yaml
test:
name: Test alarm
message: "TEST"
entity_id: binary_sensor.zigbee_window1
state: 'on'
repeat:
- 2
skip_first: false
notifiers:
- ios_iphone
and this doesn’t:
test:
name: Test alarm
message: "TEST"
entity_id: binary_sensor.zigbee_window1
state: 'off'
repeat:
- 2
skip_first: false
notifiers:
- ios_iphone
Min that I only changed from on to off. And I don’t use both alerts simultanouly (so no two same name entities).
h4nc
2
@petro maybe another good input from you?
petro
(Petro)
3
Sorry, can’t help. I haven’t used alerts yet.
tom_l
4
Check the developer tools states menu. Is the state actually ‘off’?
h4nc
5
Yes, its a binary_sensor and I checked it in the tools.
It goes ‘on’ and ‘off’.
Is it not allowed to have that entity two times in different alerts, maybe?
h4nc
6
Any other suggestions @tom_l?
tom_l
7
Nope. I’ve got nothing sorry. If I was near my HA I’d confirm it but I’m not and I’d prefer not to restart remotely if I don’t have to.
h4nc
8
Could you try it when you are near your ha again?
tom_l
9
Sure. I might get a chance tomorrow.
1 Like