I am a real newbie on the HA platform, and have been trying my hand at some basic automation, but seem to be coming unstuck. Really hoping someone on here can help me figure out where I am going wrong.
I would like to switch on my patio lights when I open my patio door, but only after sunset. I have tried various permutations in my configuration.yaml, but keep getting errors.
Thanks, but I get the following error on the config validation:
Invalid config for [automation]: Entity ID sun_sun is an invalid entity id for dictionary value @ data[‘condition’][0][‘entity_id’]. Got None. (See /config/configuration.yaml, line 17).