smokyflex / pe1-modbus

Local network integration of a Fröling PE1-Heater into Home Assistant via Modbus TCP
MIT License
9 stars 1 forks source link

template.yaml has errors #3

Open chrisrock1984 opened 6 months ago

chrisrock1984 commented 6 months ago

home assistant reports a yaml error when using template.yaml

hmichels commented 6 months ago

...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.