Import climate constants from root [m-z] (#78178)

This commit is contained in:
epenet 2022-09-10 23:42:28 +02:00 committed by GitHub
parent ec532414ba
commit 6affd9c6fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 72 additions and 64 deletions

View file

@ -15,8 +15,7 @@ from google_nest_sdm.thermostat_traits import (
ThermostatTemperatureSetpointTrait,
)
from homeassistant.components.climate import ClimateEntity
from homeassistant.components.climate.const import (
from homeassistant.components.climate import (
ATTR_HVAC_MODE,
ATTR_TARGET_TEMP_HIGH,
ATTR_TARGET_TEMP_LOW,
@ -24,6 +23,7 @@ from homeassistant.components.climate.const import (
FAN_ON,
PRESET_ECO,
PRESET_NONE,
ClimateEntity,
ClimateEntityFeature,
HVACAction,
HVACMode,