Hi everybody,
I am trying to modify a scene based on certain conditions.
I have a scene “Enter home” that opens the roller shutters and turns on the lights in the livingroom. However, if I enter home during the day, I don’t want the lights to be turned on. How can I modify the scene’s behavior based on the sunset condition?
Thank you if you could push me on the right path.
Thank you
Here is the code of my scene:
scene:
- name: Enter home
entities:
light.livingroom_led: true //this should happen only if during the night
cover.tapparella_salotto_destra:
position: 100
cover.tapparella_salotto_sinistra:
position: 100
cover.tapparella_camera:
position: 20