Fix Nest sensor (#25023)
This commit is contained in:
parent
9944e675a5
commit
26a66276cd
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue