diff --git a/custom_components/hon/binary_sensor.py b/custom_components/hon/binary_sensor.py index 6e3e030..b119722 100644 --- a/custom_components/hon/binary_sensor.py +++ b/custom_components/hon/binary_sensor.py @@ -124,7 +124,7 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = { icon="mdi:power-cycle", ), ), - "IV": ( + "IH": ( HonBinarySensorEntityDescription( key="attributes.lastConnEvent.category", name="Connection", diff --git a/custom_components/hon/button.py b/custom_components/hon/button.py index 49f2a01..0fbecac 100644 --- a/custom_components/hon/button.py +++ b/custom_components/hon/button.py @@ -14,7 +14,7 @@ from .hon import HonCoordinator, HonEntity _LOGGER = logging.getLogger(__name__) BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = { - "IV": ( + "IH": ( ButtonEntityDescription( key="startProgram", name="Start Program", diff --git a/custom_components/hon/manifest.json b/custom_components/hon/manifest.json index 775dbf3..b2b3e32 100644 --- a/custom_components/hon/manifest.json +++ b/custom_components/hon/manifest.json @@ -8,4 +8,5 @@ "issue_tracker": "https://github.com/Andre0512/hon/issues", "requirements": ["pyhOn"], "version": "0.6.0-beta.3" + } diff --git a/custom_components/hon/number.py b/custom_components/hon/number.py index 9efa280..67f8045 100644 --- a/custom_components/hon/number.py +++ b/custom_components/hon/number.py @@ -106,7 +106,7 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = { native_unit_of_measurement=UnitOfTime.MINUTES, ), ), - "IV": ( + "IH": ( NumberEntityDescription( key="startProgram.temp", name="Temperature", diff --git a/custom_components/hon/select.py b/custom_components/hon/select.py index 19d2142..bf90e0c 100644 --- a/custom_components/hon/select.py +++ b/custom_components/hon/select.py @@ -71,7 +71,7 @@ SELECTS = { translation_key="programs", ), ), - "IV": ( + "IH": ( SelectEntityDescription( key="startProgram.program", name="Program", diff --git a/custom_components/hon/sensor.py b/custom_components/hon/sensor.py index afa25ff..729ba93 100644 --- a/custom_components/hon/sensor.py +++ b/custom_components/hon/sensor.py @@ -221,7 +221,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = { icon="mdi:thermometer", ), ), - "IV": ( + "IH": ( SensorEntityDescription( key="remainingTimeMM", name="Remaining Time", diff --git a/custom_components/hon/switch.py b/custom_components/hon/switch.py index c66298f..47366ad 100644 --- a/custom_components/hon/switch.py +++ b/custom_components/hon/switch.py @@ -8,6 +8,7 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.const import EntityCategory from pyhon import Hon from pyhon.appliance import HonAppliance +from pyhon.parameter.range import HonParameterRange from .const import DOMAIN from .hon import HonCoordinator, HonEntity