Dim lights at time x

Can you post the code you have in now?

Also only the closing part I can see

  alias: GoGoGate open licht aan
  trigger:
    platform: state
    entity_id: cover.hek
    from: "closed"
    to: "open"
  condition:
    condition: and
    conditions:
      - condition: time
        after: '00:00:00'
      - condition: state
        entity_id: sun.sun
        state: 'below_horizon'
  action:
    - service: scene.turn_on
      entity_id: scene.garden_lights_bright
    - service: switch.turn_on
      entity_id: switch.qubino_goap_zmnhbdx_flush_2_relays_switch

  alias: GoGoGate dicht licht uit
  trigger:
    platform: state
    entity_id: cover.hek
    from: "open"
    to: "closed"
  condition:
    condition: and
    conditions:
      - condition: time
        after: '00:00:00'
      - condition: state
        entity_id: sun.sun
        state: 'below_horizon'
  action:
    - service: scene.turn_on
      entity_id: scene.garden_lights_dim
    - delay:
        minutes: 1
    - service: switch.turn_off
      entity_id: switch.qubino_goap_zmnhbdx_flush_2_relays_switch

Try changing this:

alias: GoGoGate open licht aan

to this:

- alias: GoGoGate open licht aan

Make sure the a in alias lines up with the t in trigger below it.

Nope nothing

Does anything show up in check config

No that is the case. Green as grass.

I’m at a loss of words, but What I would do is delete the open part of the automation, save it made reload to make sure the close part works, then I would retype it below the close part of the automation. Re-type and not copy and paste.

did you look under the unused entities sections?

Yes and found it. But how do I get that one on my UI

Uhm no. After the change, close first and open next I now see only the open part and closed is not in the UI and the unused entities section. Both are now the open automation.

Make sure both of your alias have a dash in front of them.

- alias: GoGoGate open licht aan

Also, if you see the open now make sure it works.

Open works. Lights go on etc. But the closed I can not see in the UI and also closing the gate is not turning lights off.

Just did and now both are there. Now testing.

Awesome so they both work just need to get both of them to load.

Open and close are working. So that part is covered. I will test tomorrow when the sun is up if the lights are not going on and off. And then get the rest of the automation back to work again.

For now I’m off to bed. 01:17 here and have to get up early.

Cheers and thanks for all patients and help.

- alias: GoGoGate dicht licht uit
  trigger:
    platform: state
    entity_id: cover.hek
    from: "open"
    to: "closed"
  condition:
    condition: and
    conditions:
      - condition: time
        after: '00:00:00'
      - condition: state
        entity_id: sun.sun
        state: 'below_horizon'
  action:
    - service: scene.turn_on
      entity_id: scene.garden_lights_dim
    - delay:
        minutes: 1
    - service: switch.turn_off
      entity_id: switch.qubino_goap_zmnhbdx_flush_2_relays_switch
- alias: GoGoGate open licht aan
  trigger:
    platform: state
    entity_id: cover.hek
    from: "closed"
    to: "open"
  condition:
    condition: and
    conditions:
      - condition: time
        after: '00:00:00'
      - condition: state
        entity_id: sun.sun
        state: 'below_horizon'
  action:
    - service: scene.turn_on
      entity_id: scene.garden_lights_bright
    - service: switch.turn_on
      entity_id: switch.qubino_goap_zmnhbdx_flush_2_relays_switch

This is the code for now!

That is awesome to hear that things are working, and I’m glad that I could help, I was were you are at one time. Sleep tight.