From 02609d0ab5e0053eb7ff12fe559e9d04ba5c703a Mon Sep 17 00:00:00 2001 From: Andy Huang Date: Wed, 10 Feb 2016 21:12:43 -0800 Subject: [PATCH] Changing battery level unit to "V" instead of "%" as the API reports output voltage, not percentage. This value matches with Settings > Technical Information's Battery information. --- homeassistant/components/sensor/nest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/nest.py b/homeassistant/components/sensor/nest.py index 4423e517bf5..f3a5e5dca7c 100644 --- a/homeassistant/components/sensor/nest.py +++ b/homeassistant/components/sensor/nest.py @@ -21,7 +21,7 @@ SENSOR_TYPES = ['humidity', 'last_connection', 'battery_level'] -SENSOR_UNITS = {'humidity': '%', 'battery_level': '%'} +SENSOR_UNITS = {'humidity': '%', 'battery_level': 'V'} SENSOR_TEMP_TYPES = ['temperature', 'target',