Automation not work on time

Hello,
I’m trying to create automation but nothing works!
Whereas when I manually trigger them, the actions are done well.

Can you help me ?

- id: '1547566361182'
  alias: FERMETURE
  trigger:
  - at: '19:05:00'
    platform: time
  - at: '12:35:00'
    platform: time
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
    - sat
  action:
  - alias: ''
    data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch
    service: switch.turn_off
  - data:
      entity_id: switch.fibaro_system_fgwpe_f_wall_plug_switch
    service: switch.turn_off
  - data:
      entity_id: switch.everspring_an180_plug_in_on_off_module_switch
    service: switch.turn_off
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_3
    service: switch.turn_off
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_4
    service: switch.turn_off
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_2
    service: switch.turn_off
- id: '1547567899283'
  alias: OUVERTURE
  trigger:
  - at: 08:55:00
    platform: time
  - at: '13:55'
    platform: time
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
    - sat
  action:
  - alias: ''
    data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch
    service: switch.turn_on
  - data:
      entity_id: switch.fibaro_system_fgwpe_f_wall_plug_switch
    service: switch.turn_on
  - data:
      entity_id: switch.everspring_an180_plug_in_on_off_module_switch
    service: switch.turn_on
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_3
    service: switch.turn_on
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_4
    service: switch.turn_on
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_2
    service: switch.turn_on
- id: '1547579185561'
  alias: Telecommande lune
  initial_state: true
  trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.hank_hkzw_scn04_scene_controller
      scene_id: 1
  action:
  - alias: ''
    data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch
    service: switch.turn_off
  - data:
      entity_id: switch.fibaro_system_fgwpe_f_wall_plug_switch
    service: switch.turn_off
  - data:
      entity_id: switch.everspring_an180_plug_in_on_off_module_switch
    service: switch.turn_off
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_3
    service: switch.turn_off
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_4
    service: switch.turn_off
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_2
    service: switch.turn_off
- id: '1547579207383'
  alias: Telecommande personnes
  initial_state: true
  trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
      entity_id: zwave.hank_hkzw_scn04_scene_controller
      scene_id: 2
  action:
  - alias: ''
    data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch
    service: switch.turn_on
  - data:
      entity_id: switch.fibaro_system_fgwpe_f_wall_plug_switch
    service: switch.turn_on
  - data:
      entity_id: switch.everspring_an180_plug_in_on_off_module_switch
    service: switch.turn_on
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_3
    service: switch.turn_on
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_4
    service: switch.turn_on
  - data:
      entity_id: switch.neo_coolcam_power_plug_12a_switch_2
    service: switch.turn_on
- id: '1547579750831'
  alias: Telecommande rond
  trigger:
  - event_data:
      entity_id: zwave.hank_hkzw_scn04_scene_controller
      scene_id: 3
    event_type: zwave.scene_activated
    platform: event
  condition: []
  action:
  - data:
      entity_id: switch.everspring_an180_plug_in_on_off_module_switch
    service: switch.turn_on
  initial_state: true
- id: '1547579810732'
  alias: Telecommande rond barre
  trigger:
  - event_data:
      entity_id: zwave.hank_hkzw_scn04_scene_controller
      scene_id: 4
    event_type: zwave.scene_activated
    platform: event
  condition: []
  action:
  - data:
      entity_id: switch.everspring_an180_plug_in_on_off_module_switch
    service: switch.turn_off
  initial_state: true

Thank you

Please use code block highlighting as indentation is important in YAML.

Check if your automations are enabled. There should be a group caled ‘Automations’ with a switch for each automation. Make sure the switches are on. To prevent HA turning them off if not properly shut down, use initial state.

Thank you for your response, I edit my message.

the switches of my automation are on.

Sorry for my english, i’m french

The problem was not in my automations but in the variable TZ which does not take the differences between winter and summer.
Yet well configured on Europe / Paris …

If you have a solution?

I was just about to ask if your system time was correct.

If you have this in your configuration.yaml file:

homeassistant:
  time_zone: Europe/Paris

the system time should be adjusted for daylight savings.

I use a synology and docker, i have set docker variable.
But not configuration.yaml, You think it’s because of that?

Thank

Yes. Set the home assistant time zone.

1 Like