I’m quite new to this. Followed some youtube instruction while trying to create a template.
Please find the error I’m getting:
Logger: homeassistant.config
Source: config.py:609
First occurred: 1:37:38 AM (2 occurrences)
Last logged: 1:37:42 AM
Invalid config for ‘template’ at template.yaml, line 2: required key ‘state’ not provided Invalid config for ‘template’ at template.yaml, line 4: ‘state’ is an invalid option for ‘template’, check: state
seems like you might be new to yaml… you might consider using the UI to help you… You can create most of this sensor by going to settings- automation &scenes - helpers - create helper