Skip to content

Commit 22d4178

Browse files
SaccaSacca
authored andcommitted
UNIT_PERCENTAGE was changed to PERCENTAGE in homeassistant 0.115
1 parent abf4de3 commit 22d4178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom_components/uhoo/const.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
DEVICE_CLASS_TEMPERATURE,
1111
PRESSURE_HPA,
1212
TEMP_FAHRENHEIT,
13-
UNIT_PERCENTAGE,
13+
PERCENTAGE,
1414
)
1515

1616
API_CO = "co"
@@ -61,7 +61,7 @@
6161
API_HUMIDITY: {
6262
ATTR_DEVICE_CLASS: DEVICE_CLASS_HUMIDITY,
6363
ATTR_ICON: "mdi:water-percent",
64-
ATTR_UNIT: UNIT_PERCENTAGE,
64+
ATTR_UNIT: PERCENTAGE,
6565
ATTR_LABEL: "Humidity",
6666
ATTR_UNIQUE_ID: API_HUMIDITY,
6767
},

0 commit comments

Comments
 (0)