From 574542a549992df698e5d69cade48c30c1525d10 Mon Sep 17 00:00:00 2001 From: Michael Lunzer Date: Sat, 8 Jun 2019 02:40:36 -0700 Subject: [PATCH] Update apcupsd.markdown (#9564) * Update apcupsd.markdown Three Changes: 1. I added a link to the unofficial hass.io plugin which is required to use this component with hass.io. (maybe we can add it to the community repository?) 2. I copied the values as-is (in all caps) and it caused a configuration error. This is just a quick edit to clarify the instructions and state that the listed resources should be lower case. 3. I also added a full example configuration that users can just copy & paste. * Minor changes * Fix title --- source/_components/apcupsd.markdown | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/source/_components/apcupsd.markdown b/source/_components/apcupsd.markdown index b341b1b8168..24ba1f4e0fb 100644 --- a/source/_components/apcupsd.markdown +++ b/source/_components/apcupsd.markdown @@ -26,6 +26,12 @@ There is currently support for the following device types within Home Assistant: - [Binary Sensor](#binary-sensor) - [Sensor](#sensor) +## {% linkable_title Hass.io Installation %} + +Install this [unofficial add-on](https://github.com/korylprince/hassio-apcupsd/) to use this integration with Hass.io. Keep in mind that we can't give you support for this add-on. + +After installation, follow the instructions on the Github page to configure the plugin. Then continue to follow the integration configurations below. + ## {% linkable_title Configuration %} To enable this sensor, add the following lines to your `configuration.yaml`: @@ -127,13 +133,33 @@ OUTPUTV : 218.4 Volts [...] ``` -Use the (case insensitive) values from the left hand column: +Use the values from the left hand column (lower case required). + +Full Example Configuration: ```yaml sensor: - platform: apcupsd resources: + - apc + - date + - hostname + - version + - upsname + - cable + - driver + - upsmode + - starttime + - model + - status - linev - loadpct + - bcharge - timeleft + - mbattchg + - mintimel + - maxtime + - maxlinev + - minlinev + - outputv ```