Skip to content

Commit

Permalink
fix: remove additional deprecated constants
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealWaldo committed May 18, 2024
1 parent cc28b3f commit f0a585a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/optimal_humidity/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from homeassistant.const import (
PERCENTAGE,
TEMP_CELSIUS,
UnitOfTemperature,
)

NAME = "Optimal Humidity"
Expand Down Expand Up @@ -39,7 +39,7 @@
SENSOR_TYPES = {
ATTR_DEWPOINT: (
ATTR_DEWPOINT,
TEMP_CELSIUS,
UnitOfTemperature.CELSIUS,
SensorDeviceClass.TEMPERATURE,
"hass:thermometer",
),
Expand All @@ -63,7 +63,7 @@
),
ATTR_HUMIDEX: (
ATTR_HUMIDEX,
TEMP_CELSIUS,
UnitOfTemperature.CELSIUS,
SensorDeviceClass.TEMPERATURE,
"hass:thermometer",
),
Expand All @@ -81,7 +81,7 @@
),
ATTR_OPTIMAL_HUMIDEX: (
ATTR_OPTIMAL_HUMIDEX,
TEMP_CELSIUS,
UnitOfTemperature.CELSIUS,
SensorDeviceClass.TEMPERATURE,
"hass:thermometer",
),
Expand Down

0 comments on commit f0a585a

Please sign in to comment.