For some reason one of my light automations has stopped working
several lights both zigbee and lightwaverf dont come on when say the sun sets but when I go into the automation and run the individual automation to turn the light on it works, anyone else have this issue
Post your automation YAML, so we can see the code and triggers.
Thanks for the reply, sorry but I deleted the Automation and set each lamp up with its own to see if I can isolate, if that doesnt work (i’ll know tomorrow night) I’ll setup up again and try to recreate then post , but thank you
Running an automation manually only runs the action part - trigger and conditions are ignopred. Maybe that’s where the problem was.
Ok so the 4 lights that are not turning off\on with an automation are no on individual automations 3 of them did not turn off last night at 23:30 like they were supposed to
1 set of lights are controlled by a frient plug and that worked the other 3 are all Innr bulbs here is the yaml for one of them
alias: Lights Monster Lamp 1 Off
- platform: time
- service: light.turn_off
the common denominator here is the INNR lamps but how can all 3 be faulty
What is that character in the condition line?
It might be the cause of it.
Format your post as the guidelines here says: How to help us help you - or How to ask a good question - #3
The condition is blank ie no condition is set
I have just deleted the maybe it will work now, i’ll give that a go
Ok so I deleted the from 2 of the new automations reset the time to 9:30 and 9:45
both switched off
So fingers crossed its solved will recreate the full automation to run tonight then see what happens
dont understand where\why are suddenly a problem though
anyway thanks fingers crossed I’ll know at about 23:30 tonight
I do not know what that square is, but if it is in a condition, then HA will read it as something that needs to be true for it to trigger and if it is just a square, then only a developer will know how it reacts to that.
Sorry its not a square its [ ] open and closed square brackets
ahhh, you really should format your post as mentioned earlier.
The post editor change it to a square, so we have no change to see the real characters.
In the YAML it now shows null instead of [ ]
Delete the line completely if you do not use it.
And please post your automation with the proper formatting.
This might be an issue of a bad indentation and we can not see the indentations without that formatting.
So I tried to add 2 Innr lights that had stopped responding and they could not befound so I decided to buy a new sonoff zigbee stick E ie latest one flashed the firmware and rebuilt my network, Innr bulbs connected straight away but the auomation below does not trigger the garden lights for some reason, could you take a look and tell me what I have done wrong please
alias: Lights On All
- platform: sun
- service: light.turn_on
- service: light.turn_on
- service: switch.turn_on
Strange garden lights is missing from the yaml but showing in the visual editor
Ill investigate further thanks
Try to avoid using device ids.
Use entities instead, like light, switch, sensor, binary_sensor and so on.