Hi and happy Christmas to everyone and happy new year!
I have little trouble now and would be very thankful if anyone could help me with this problem.
I started to setup automation workdays for lamp switch and finally got it accepted on Configuration validation but i canĀ“t get switch to turn on on specified time.
I have read a lot on forums but i canĀ“t see what iĀ“m doing wrong. I maked a new binary_sensor.yaml
in config folder and specified that in configutation.yaml to include.
here is my configs.
configuration.yaml
binary_sensor: !include binary_sensor.yaml
# Text to speech
#google_translate:
#- platform: google
# Cloud
cloud:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
binary_sensor.yaml
- platform: workday
country: FI
workdays: [mon, tue, wed, thu, fri]
automation.yaml
- id: '1608059543763'
alias: Utelampa On At Evening
description: Turn on utelampa at evening
trigger:
- platform: time
at: '19:10:00'
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: switch.turn_on
data: {}
entity_id: switch.ute_lampa
mode: single
Hopefully someone can check this and help me :=)