Hi.
I’m trying to create a sensor that display the time that the sun is setting but only at specific day:
sensor:
- platform: template
sensors:
auto_light_start:
friendly_name: ‘Lights on at’
value_template: ‘{{ (as_timestamp(states.sun.sun.attributes.next_setting)) | timestamp_custom("%H:%M") }}’
This shows me the sunset for the current day.
How can I get the sunset for specific day at the week?
Thanks!