h4de5 / home-assistant-vimar

VIMAR by-me integration into home-assistant.io
GNU General Public License v3.0
42 stars 6 forks source link

I get invalid config #1

Closed andreanilorenzo closed 4 years ago

andreanilorenzo commented 4 years ago

In Check Configuration i get:

Invalid config for [vimar_platform]: [username] is an invalid option for [vimar_platform]. Check: vimar_platform->username. (See ?, line ?).

This is che config:

vimar_platform:
  username: homeassistant
  password: pasw
  host: 192.168.1.4
  schema: https
  port: 443
felisida commented 4 years ago

Hi, I'd like to use your component to manage by-me with HA. This runs on macOS, attached is the configuration on configuration.yaml and the errors found in the Check Configuration, CONFIGURATION.pdf

h4de5 commented 4 years ago

@andreanilorenzo : this error seems similar to this one: https://github.com/h4de5/VimarWebserverApi/issues/1 Can you have a look into your home-assistant log file? At some point it should say one of the following:

WARNING (MainThread) [homeassistant.loader] You are using a custom integration for vimar_platform which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

This would indicate that the code is in the right place. If this is not there - please make sure the repository is cloned into the right directory ( CONFIG_DIR/custom_components/vimar_platform - whereby your overall configuration.yaml should be in CONFIG_DIR)

@felisida your problem seems to be a very different one. currently I try to get the type of the entity from its name. but I only have german locales here - so this won't work in your case. Can you give me an example of how your buttons are named? in the webserver:

image

in german its: TYPE ID ROOM LEVEL e.g. "LICHT 7 LAGER ERGESCHOSS" - which means "LIGHT 7 STOREROOM MAIN FLOOR"..

h4de5 commented 4 years ago

the problem with the invalid config should be resolved. thanks to https://github.com/ljmerza/ha-our-groceries/issues/3