Problem with automation

wrote the scene but when checking the configuration error

Invalid config for [automation]: [service] is an invalid option for [automation]. Check: automation-> service. (See /home/homeassistant/.homeassistant/configuration.yaml, line 35). Please check the docs at https://home-assistant.io/components/automation/

Here is the line itself
group:! include groups.yaml
Here is the script
alias: light_auto
initial_state: true
trigger:
platform: state
entity_id: binary_sensor.ofis_dver_vkhodnaia_73
from: ‘on’
to: ‘off’
action:
service: light.turn_on
entity_id: light.unknown-rele_7_1753

Can you please edit your post and mark the YAML as code - see the big blue box at the top. That way we can see you how you formatted the YAML.

button does not work

Looking at your raw config, think you need to indent the service: and entity_id: lines

You didn’t highlight your code before you clicked but button, which are explicitly in the instructions at the top of the page.