Adjust Fan Modes in insteon (#71804)
This commit is contained in:
parent
c5460ce4b9
commit
21b1667de9
1 changed files with 4 additions and 3 deletions
|
@ -9,8 +9,7 @@ from homeassistant.components.climate.const import (
|
|||
ATTR_TARGET_TEMP_HIGH,
|
||||
ATTR_TARGET_TEMP_LOW,
|
||||
DOMAIN as CLIMATE_DOMAIN,
|
||||
HVAC_MODE_AUTO,
|
||||
HVAC_MODE_FAN_ONLY,
|
||||
FAN_AUTO,
|
||||
ClimateEntityFeature,
|
||||
HVACAction,
|
||||
HVACMode,
|
||||
|
@ -25,6 +24,8 @@ from .const import SIGNAL_ADD_ENTITIES
|
|||
from .insteon_entity import InsteonEntity
|
||||
from .utils import async_add_insteon_entities
|
||||
|
||||
FAN_ONLY = "fan_only"
|
||||
|
||||
COOLING = 1
|
||||
HEATING = 2
|
||||
DEHUMIDIFYING = 3
|
||||
|
@ -46,7 +47,7 @@ HVAC_MODES = {
|
|||
2: HVACMode.COOL,
|
||||
3: HVACMode.HEAT_COOL,
|
||||
}
|
||||
FAN_MODES = {4: HVAC_MODE_AUTO, 8: HVAC_MODE_FAN_ONLY}
|
||||
FAN_MODES = {4: FAN_AUTO, 8: FAN_ONLY}
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
|
|
Loading…
Add table
Reference in a new issue