Daily Solar Yield yaml error #459
-
I want to use this solution: https://github.com/wlcrs/huawei_solar/wiki/Daily-Solar-Yield But when I add this code to the configuration.yaml:
I receive the following errors: Invalid config for [template]: [value_template] is an invalid option for [template]. Check: template->sensor->0->value_template. (See /config/configuration.yaml, line 37). Any idea? Please can you share a working configuration.yaml file? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@graphistudio Also, just to make sure, are you saying that is the exact contents of your configuration.yaml file? If so, I'd suggest a) reading this about making a packages folder https://www.home-assistant.io/docs/configuration/packages/ Short version add this to your configuration.yaml, and then in the /config directory of your HA instance create a folder named 'packages'. b) Looking at the HA documentation and other examples on here, that create sensors etc in yaml files. In there you'll note that you can't have template: defined twice in the same yaml file. If you've made that error, I think your looking to use (and modify to your inverters sensor names, if you have multiple inverters/inputs):
|
Beta Was this translation helpful? Give feedback.
I solved by using this code: