Skip to content

Commit b481297

Browse files
committed
0.8.0
1 parent 40eec77 commit b481297

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

custom_components/hon/const.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
"sensor",
2828
"binary_sensor",
2929
"button",
30-
"switch",
31-
"select",
32-
"number",
30+
"switch"
3331
]
3432

33+
""" "number",
34+
"select", """
35+
36+
3537
AUTH_API = "https://account2.hon-smarthome.com/SmartHome"
3638
API_URL = "https://api-iot.he.services"
3739
APP_VERSION = "2.0.10"

custom_components/hon/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"documentation": "https://github.com/gvigroux/hon",
77
"iot_class": "cloud_polling",
88
"issue_tracker": "https://github.com/gvigroux/hon/issues",
9-
"version": "0.7.23"
9+
"version": "0.8.0"
1010
}

custom_components/hon/number.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from homeassistant.const import UnitOfTemperature, UnitOfTime
99
from homeassistant.helpers.entity import EntityCategory
1010
from homeassistant.helpers import translation
11+
from homeassistant.helpers.update_coordinator import CoordinatorEntity
1112
from homeassistant.components.number import NumberEntity, NumberEntityDescription
1213

1314
_LOGGER = logging.getLogger(__name__)
@@ -161,7 +162,7 @@ def __init__(self, hon, coordinator, appliance, description) -> None:
161162
#param_display = description.key.replace("startProgram.", "").replace("tempSelZ", "Zone ")
162163
#self._attr_name = f"{self._name} {param_display}"
163164
#_LOGGER.error(self._attr_name)
164-
#self._attr_unique_id = f"{self._mac}-number-v59-{description.key}"
165+
self._attr_unique_id = f"{self._mac}-number-{description.key}"
165166

166167
def _get_setting(self):
167168
return self._device.get_setting(self.entity_description.key)

0 commit comments

Comments
 (0)