Problem with scene

Hello
Wrote a script to turn on the light depending on the state of the opening sensor.
alias: light_auto
initial_state: true
trigger:
platform: state
entity_id: binary_sensor.ofis_dver_vkhodnaia_73
from: 'off'
to: 'on'
action:
service: light.turn_on
entity_id: light.unknown_rele_7_1753
When checking the configuration, everything is successful. I reset the automation
but when the Sensor is triggered, the light does not turn on
the light does not turn on manually when starting the scene

Is that automation passing Config Check?

Correct formatting should look like this:

- alias: light_auto
  initial_state: true
  trigger:
    platform: state
    entity_id: binary_sensor.ofis_dver_vkhodnaia_73
    from: 'off'
    to: 'on'
  action:
    service: light.turn_on
    entity_id: light.unknown_rele_7_1753

Please check your indentation. And please try to follow the posting guidelines. Use the ctrl+shift+c when posting your yaml code, so it preserves the correct indentation like this:

          alias: light_auto
          initial_state: true
          trigger:
            platform: state
            entity_id: binary_sensor.ofis_dver_vkhodnaia_73
            from: 'off'
            to: 'on'
          action:
            service: light.turn_on
            entity_id: light.unknown_rele_7_1753

Can you confirm that you can manually send the service command light.turn_on to the referenced entity_id: light.unknown_rele_7_1753 ?