1
mirror of https://github.com/home-assistant/core synced 2024-07-21 14:24:50 +02:00

Fix Nest sensor (#25023)

This commit is contained in:
Paulus Schoutsen 2019-07-08 14:12:02 -07:00 committed by GitHub
parent 9944e675a5
commit 26a66276cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ from homeassistant.const import (
from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice
SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_mode']
SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state']
TEMP_SENSOR_TYPES = ['temperature', 'target']
@ -36,7 +36,7 @@ SENSOR_DEVICE_CLASSES = {'humidity': DEVICE_CLASS_HUMIDITY}
VARIABLE_NAME_MAPPING = {'eta': 'eta_begin', 'operation_mode': 'mode'}
VALUE_MAPPING = {
'hvac_mode': {
'hvac_state': {
'heating': STATE_HEAT, 'cooling': STATE_COOL, 'off': STATE_OFF}}
SENSOR_TYPES_DEPRECATED = ['last_ip',