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

Config error, expected dictionary value #57

Closed
nvschilleman opened this issue Dec 24, 2019 · 3 comments
Closed

Config error, expected dictionary value #57

nvschilleman opened this issue Dec 24, 2019 · 3 comments

Comments

@nvschilleman
Copy link

nvschilleman commented Dec 24, 2019

Problem/Motivation

Keep getting config errors, while my config comparable to examples

Expected behavior

Including only the set entities to my database

Actual behavior

Keeps getting errors

I've configured the addon following the steps given in the readme. When trying to configure the component in Hass I keep getting the following errors:

Invalid config for [influxdb]: expected a dictionary for dictionary value @ data['influxdb']['include']. Got [OrderedDict([('entities', [OrderedDict([('entity', 'binary_sensor.koelsignaal')]), OrderedDict([('entity', 'binary_sensor.compressor')]), OrderedDict([('entity', 'binary_sensor.verdamperventilator')]), OrderedDict([('entity', 'sensor.ontdooiing')]), OrderedDict([('entity', 'binary_sensor.celdeur')]), OrderedDict([('entity', 'binary_sensor.algemene_koelstoring')])])])]. (See /config/configuration.yaml, line 54). Please check the docs at https://home-assistant.io/integrations/influxdb/

I don't see anything wrong in my config, this is my config:


 influxdb:
   host: a0d7b954-influxdb
   port: 8086
   database: pfio_mon
   username: xxx
   password: xxx
   max_retries: 3
   include:
       entities:
         - binary_sensor.koelsignaal
         - binary_sensor.compressor
         - binary_sensor.verdamperventilator
         - sensor.ontdooiing
         - binary_sensor.celdeur
         - binary_sensor.algemene_koelstoring
   default_measurement: state
   tags: 
     source: hass
@addons-assistant
Copy link

👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

@sinclairpaul
Copy link
Member

sinclairpaul commented Dec 24, 2019

As this isn't an issue with the addon I will close this.

Details of how to get help with the configuration of Home Assistant can be found at https://www.home-assistant.io/help/

Home Assistant
If you need help or have a question...

@addons-assistant
Copy link

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@addons-assistant addons-assistant bot locked as resolved and limited conversation to collaborators Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants