Skip to content

Commit

Permalink
Merge pull request #88 from mauriziosacca/mauriziosacca-patch-1
Browse files Browse the repository at this point in the history
Mauriziosacca patch 1
  • Loading branch information
atxbyea authored Jan 14, 2024
2 parents 033d297 + 8998fcb commit 005fe90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions custom_components/climate_ip/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
ATTR_TARGET_TEMP_HIGH,
ATTR_TARGET_TEMP_LOW,
DOMAIN,
HVACMode.OFF,
HVACMode,
ClimateEntity,
)
from homeassistant.components.climate.const import (
Expand All @@ -50,8 +50,7 @@
STATE_ON,
STATE_UNAVAILABLE,
STATE_UNKNOWN,
UnitOfTemperature.CELSIUS,
UnitOfTemperature.FAHRENHEIT,
UnitOfTemperature,
)
from homeassistant.exceptions import PlatformNotReady
from homeassistant.helpers.config_validation import PLATFORM_SCHEMA
Expand Down
2 changes: 1 addition & 1 deletion custom_components/climate_ip/controller_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
CONF_TEMPERATURE_UNIT,
CONF_TOKEN,
STATE_ON,
UnitOfTemperature.CELSIUS,
UnitOfTemperature,
)
from homeassistant.helpers.config_validation import PLATFORM_SCHEMA

Expand Down
3 changes: 1 addition & 2 deletions custom_components/climate_ip/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
STATE_OFF,
STATE_ON,
STATE_UNKNOWN,
UnitOfTemperature.CELSIUS,
UnitOfTemperature.FAHRENHEIT,
UnitOfTemperature,
)

# from homeassistant.util.temperature import convert as convert_temperature
Expand Down

0 comments on commit 005fe90

Please sign in to comment.