25 lines
649 B
Python
25 lines
649 B
Python
"""Constants for Daikin."""
|
|
from homeassistant.const import CONF_ICON, CONF_NAME, CONF_TYPE
|
|
|
|
ATTR_TARGET_TEMPERATURE = 'target_temperature'
|
|
ATTR_INSIDE_TEMPERATURE = 'inside_temperature'
|
|
ATTR_OUTSIDE_TEMPERATURE = 'outside_temperature'
|
|
|
|
SENSOR_TYPE_TEMPERATURE = 'temperature'
|
|
|
|
SENSOR_TYPES = {
|
|
ATTR_INSIDE_TEMPERATURE: {
|
|
CONF_NAME: 'Inside Temperature',
|
|
CONF_ICON: 'mdi:thermometer',
|
|
CONF_TYPE: SENSOR_TYPE_TEMPERATURE
|
|
},
|
|
ATTR_OUTSIDE_TEMPERATURE: {
|
|
CONF_NAME: 'Outside Temperature',
|
|
CONF_ICON: 'mdi:thermometer',
|
|
CONF_TYPE: SENSOR_TYPE_TEMPERATURE
|
|
}
|
|
}
|
|
|
|
KEY_MAC = 'mac'
|
|
KEY_IP = 'ip'
|