Closed ardzeus closed 8 years ago
The APCUPSd component was migrated to do configuration checks. Please see the APCUPSd Sensor documentation.
According documentation nothing has changed... Could you please point out, what I should change in the configuration to get apcupsd working again?
There is a bug in 0.27.1, so you have to specify the host:
apcupsd:
host: localhost
It will be fixed in the next release
Unfortunately specifying a host doesn't fix this issue. If you check the error message, you can see the problem is somewhere else now...
What is the output of: hass --script check_config
And how is your config for the apcupsd? You should have:
apcupsd:
host: localhost
You can check the configuration above on the bug description.
Output of the check_config is quite interesting... It's showing same for pip installation and git workarea
% hass --script check_config
Traceback (most recent call last):
File "/usr/local/bin/hass", line 11, in
% which hass /usr/local/bin/hass
% hass --version 0.27.1
I think you are missing:
apcupsd:
host: localhost
in your config
Yes sure there is now also the host definition like you mentioned earlier
To be sure, your config look like this?
apcupsd:
host: localhost
sensor:
- platform: apcupsd
resources:
- status
Eh, so the host definition must be under different section... Now it's working! Thank you very much for your help!
@fabaff We should try to find a way to give a better error message in cases where the config for the hub is missing. Not easy to understand the problem from the given error message.
Home Assistant release (
hass --version
): 0.27.1Python release (
python3 --version
): 3.4.2Component/platform: apcupsd
Description of problem: Apcupsd component doesn't start
Expected:
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info: Worked fine on 0.27.0