slesinger / HomeAssistant-PREdistribuce

Home Assistant integration to display info about energy plan
https://slesinger.info
Apache License 2.0
11 stars 8 forks source link

Configuration outdated? #12

Open ok2zar opened 1 year ago

ok2zar commented 1 year ago

I've tried to configure this module as is described in README but without any success even tried many times. HA reporting wrong configuration during attempt to restart.

Error message: The system cannot restart because the configuration is not valid: Invalid config for [binary_sensor.predistribuce]: [name] is an invalid option for [binary_sensor.predistribuce]. Check: binary_sensor.predistribuce->name. (See ?, line ?).

stejnaci commented 1 year ago

I have the same issue 2022-08-28 15:37:37.684 ERROR (MainThread) [homeassistant.config] Invalid config for [binary_sensor.predistribuce]: [name] is an invalid option for [binary_sensor.predistribuce]. Check: binary_sensor.predistribuce->name. (See /config/configuration.yaml, line 24). Please check the docs at https://github.com/slesinger/HomeAssistant-PREdistribuce

ofinka82 commented 1 year ago

I had the same issue. I solved it by removing the "name" parameter from /Config/configuration.yaml

exactly:

Example configuration.yaml entry for showing current HDO state and HTML for rendering a time schedule

sensor: