Lights wont turn off

Sorry but i am a newbie, my automation turn on the lights but it wont turn them off, without me doing it manually or running the action? i have all the updates from HA. the lights are TP-Link & Govee if that helps.

Thank you in advance, have tried everything.

Nige S

How can we help you. You don’t give any details. For example, show your automation, properly formatted.

Show your automation here, otherwise we can’t help.

Help with formatting:
You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix it from the site FAQ Page.
How to help us help you - or How to ask a good question.

On

alias: Patio Sunset On +15mins
description: “”
triggers:

  • trigger: sun
    event: sunset
    offset: “00:15:00”
    conditions:
    actions:
  • action: light.turn_on
    metadata: {}
    data:
    color_temp_kelvin: 2000
    brightness_pct: 75
    target:
    device_id: 315ee0ac37573de8536a22cb7d2eed78
    mode: single

Off

alias: Patio Off @ 23:30
description: “”
triggers:

  • trigger: time
    at: “23:30:00”
    conditions:
    actions:
  • action: light.turn_off
    metadata: {}
    data: {}
    target:
    device_id: 315ee0ac37573de8536a22cb7d2eed78
    mode: single

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

Also:

This ^
f6be36681e0da431418ec7781fb6c62712941803