Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template.yaml has errors #3

Open
chrisrock1984 opened this issue Mar 28, 2024 · 1 comment
Open

template.yaml has errors #3

chrisrock1984 opened this issue Mar 28, 2024 · 1 comment

Comments

@chrisrock1984
Copy link

home assistant reports a yaml error when using template.yaml

@hmichels
Copy link

...nobody can help you, if you not provide more details like the error report.
Do you use the original yaml files from this repository? Otherwise provide your adapted yaml files.

In my template.yaml file a lot of other binary_sensor's and senor's are included, therefore my file is named templates.yaml and the include in the configuration.yaml is

template: !include templates.yaml

Please note: inside the templates.yaml the first entry "- name:" must be startet with

- sensor:
    - name: "Modbus PE1 System Status"

The "- sensor:" section is abesolute necessary!
Please note also the necessary blanks starting with the New line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants