Automations is not working

Tags: #<Tag:0x00007f7803465258>

Hi everybody,
I have an problem with Automations,I tried some Automation on via UI but it is not triggered .I tetsted in with trigger it worked. Then ı tryid below link applicatin but it was not work.(I add my temrature sensor)

Please share the automation YAML. Make sure to format properly as a code block.

Im not at home now .Im not goig to be at home 4 hour later . When I arrive at home I will share it.

Manually triggering an automation bypasses the a actual trigger and just runs any conditions and actions.

Please post your trigger yaml, highlight it, then press the </> button to format it as code.

Or post a screenshot of the trigger using the UI editor :wink:

It also bypasses conditions

Thanks Guys ,
I resolve the problem .
But I copied some Automation code Automation.yaml but it is not working.Sample code is below.

  • alias: Turn on kitchen light when there is movement
    platform: state
    entity_id: sensor.motion_sensor
    to: ‘on’
    service: light.turn_on
    entity_id: light.kitchen_light

  • alias: Turn off kitchen light 10 minutes after last movement
    platform: state
    entity_id: sensor.motion_sensor
    to: ‘off’
    minutes: 10
    service: light.turn_off
    entity_id: light.kitchen_light

Post it as a CODE block… hard to help with what you posted.