I see! Thanks.
It should probably be spelled out in the documentation.
I see! Thanks.
It should probably be spelled out in the documentation.
There’s an “Edit” link in the top right corner.
So, is there any options to use night mode in script for automation…
My current script:
Open LED light
- id: ‘31’
alias: Open LED light (dark + 1h)
trigger:
platform: sun
event: sunset
offset: “01:00:00”
action:
service: light.turn_on
data:
brightness: 1
rgb_color: [255, 255, 255]
entity_id:
- light.Zunaj
Thank you for your answer…
I was thinking, that instead of brightness that I use Effect: night, which is the night mode…
Right, that’s the way to do it.
But how to use it? If I write Effect: nightmode I got error…
Just effect: night
should work.
And in this case brightness is not important? In other words, instead of brightness I write effect?
Example which is working 100%:
Prižgi LED luč: ZUNAJ
- id: ‘32’
alias: ZUNAJ - prižgi LED (tema + 2h)
trigger:
platform: sun
event: sunset
offset: “02:00:00”
action:
service: light.turn_on
data:
effect: night
entity_id:
- light.Zunaj
In case of effect usage there is no need for:
brightness: 1
rgb_color: [255, 255, 255]
Thanks for the reminder. I inserted a section describing night
effect.