korylprince / hassio-apcupsd

An apcupsd Hass.io add-on
MIT License
52 stars 20 forks source link

extra key's not working. #13

Closed Vorms closed 5 years ago

Vorms commented 5 years ago

I want to override parameters of apcupsd. I have this config in configuration.yaml:

apcupsd:
 "extra": [
    {"key": "BATTERYLEVEL", "val": 15},
    {"key": "MINUTES", "val": 5}
 ]

the error message is:

Invalid config for [apcupsd]: [extra] is an invalid option for [apcupsd]. Check: apcupsd->apcupsd->extra. (See /config/configuration.yaml, line 111). Please check the docs at https://home-assistant.io/components/apcupsd/

Many thanks for your help

korylprince commented 5 years ago

@Vorms

You're trying to put Hassio add-on configuration in the home assistant configuration.yaml.

Are you running Hass.io? If so, then you need to install this add-on and put that configuration in the add-on configuration (through the Hass.io web interface.)

If you aren't running Hass.io, then this add-on isn't for you and you'll need to install acpupsd yourself.