Hi,
I have this sensor in my config:
binary_sensor:
- platform: workday
name: workdays
country: BE
workdays: [mon, tue, wed, thu, fri]
excludes: [sat, sun, holiday]
This is the blueprint that uses that sensor:
blueprint:
name: Lights on workdays
description: Turn lights on on workdays only
domain: automation
input:
time_entity:
name: Time
selector:
time:
light_entity:
name: Light
selector:
target:
entity:
domain: light
transition_time:
name: Transition
selector:
number:
min: 1
max: 30
step: 1
unit_of_measurement: min
mode: slider
percent_entity:
name: Brightness
selector:
number:
min: 1
max: 255
step: 1
unit_of_measurement: unit
mode: slider
trigger:
platform: time
at: !input time_entity
condition:
condition: state
entity_id: binary_sensor.workdays
state: on
action:
service: light.turn_on
target: !input light_entity
data:
transition: !input transition_time
brightness: !input percent_entity
It’s not working at all, and not showing up in the UI so I think something is wrong but I can’t figure out what’s wrong.
Anyone have an idea ?