Set time for light to switch on

Hey there,

I’ve tried searching for ages, the config looks okay but I must be missing something. Could I get some help with this please, Ideally I would like the lights to switch on only on certain days but first I just want to get it working for a certain time, below is what I have so far:

- id: Alarm_Bedside_Lamp
  alias: Alarm Bedside Lamp
  - at: 04:03:00
    platform: time
  - data:
      entity_id: switch.bedroom_lamp
    service: light.turn_on

Change service to switch.turn_on or homeassistant.turn_on.

1 Like

Figured it out, its because I was trying to call “light.turn_on” when it should have been “switch.turn_on”

If you actually want that switch to behave as if it were a light have a read of this:

1 Like