Problem with a simple time triger

Hi,

I’m trying to make a automation to trun of all my lights at an fixed time.
The problem that it won’t turn of the lights.
This is my configuration.

homeassistant:

Name of the location where Home Assistant is running

name: Home

Location required to calculate the time the sun rises and sets

latitude: 52.9072524
longitude: 6.3982293

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 12

metric for Metric, imperial for Imperial

unit_system: metric

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone: utc

Customization file

customize: !include customize.yaml

id: ‘1539691934072’
alias: Alles uit
trigger:

  • at: 22:30:00
    platform: time
    condition:
  • condition: state
    entity_id: switch.vitinekast_23
    state: ‘on’
    action:
  • data:
    entity_id: switch.vitinekast_23
    service: switch.turn_off

I think you need to put the time in quotes and you don’t need the condition.

changed it to:

  • id: ‘1539691934072’
    alias: Alles uit
    trigger:
    • at: “10:32:00”
      platform: time
      condition: []
      action:
    • data:
      entity_id: switch.vitinekast_23
      service: switch.turn_off

But still not working

I solved it.
The problem was that the time zone wasn’t right.