Correct name for IH #22
This commit is contained in:
parent
e2f7f15a5f
commit
2aa1d3df01
@ -124,7 +124,7 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = {
|
|||||||
icon="mdi:power-cycle",
|
icon="mdi:power-cycle",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
"IV": (
|
"IH": (
|
||||||
HonBinarySensorEntityDescription(
|
HonBinarySensorEntityDescription(
|
||||||
key="attributes.lastConnEvent.category",
|
key="attributes.lastConnEvent.category",
|
||||||
name="Connection",
|
name="Connection",
|
||||||
|
@ -26,7 +26,7 @@ BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = {
|
|||||||
icon="mdi:power-off",
|
icon="mdi:power-off",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
"IV": (
|
"IH": (
|
||||||
ButtonEntityDescription(
|
ButtonEntityDescription(
|
||||||
key="startProgram",
|
key="startProgram",
|
||||||
name="Start Program",
|
name="Start Program",
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
"documentation": "https://github.com/Andre0512/hon/",
|
"documentation": "https://github.com/Andre0512/hon/",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"issue_tracker": "https://github.com/Andre0512/hon/issues",
|
"issue_tracker": "https://github.com/Andre0512/hon/issues",
|
||||||
"requirements": ["pyhOn==0.8.0b4"],
|
"requirements": ["pyhOn==0.8.0b5"],
|
||||||
"version": "0.6.0-beta.3"
|
"version": "0.6.0-beta.4"
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from pyhon import Hon
|
from pyhon import Hon
|
||||||
from pyhon.parameter import HonParameterRange
|
from pyhon.parameter.range import HonParameterRange
|
||||||
|
|
||||||
from homeassistant.components.number import (
|
from homeassistant.components.number import (
|
||||||
NumberEntity,
|
NumberEntity,
|
||||||
@ -106,7 +106,7 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
|
|||||||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
native_unit_of_measurement=UnitOfTime.MINUTES,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
"IV": (
|
"IH": (
|
||||||
NumberEntityDescription(
|
NumberEntityDescription(
|
||||||
key="startProgram.temp",
|
key="startProgram.temp",
|
||||||
name="Temperature",
|
name="Temperature",
|
||||||
|
@ -4,7 +4,7 @@ import logging
|
|||||||
|
|
||||||
from pyhon import Hon
|
from pyhon import Hon
|
||||||
from pyhon.appliance import HonAppliance
|
from pyhon.appliance import HonAppliance
|
||||||
from pyhon.parameter import HonParameterFixed
|
from pyhon.parameter.fixed import HonParameterFixed
|
||||||
|
|
||||||
from homeassistant.components.select import SelectEntity, SelectEntityDescription
|
from homeassistant.components.select import SelectEntity, SelectEntityDescription
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
@ -76,7 +76,7 @@ SELECTS = {
|
|||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
"IV": (
|
"IH": (
|
||||||
SelectEntityDescription(
|
SelectEntityDescription(
|
||||||
key="startProgram.program",
|
key="startProgram.program",
|
||||||
name="Program",
|
name="Program",
|
||||||
|
@ -221,7 +221,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||||||
icon="mdi:thermometer",
|
icon="mdi:thermometer",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
"IV": (
|
"IH": (
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="remainingTimeMM",
|
key="remainingTimeMM",
|
||||||
name="Remaining Time",
|
name="Remaining Time",
|
||||||
|
@ -8,6 +8,7 @@ from homeassistant.config_entries import ConfigEntry
|
|||||||
from homeassistant.const import EntityCategory
|
from homeassistant.const import EntityCategory
|
||||||
from pyhon import Hon
|
from pyhon import Hon
|
||||||
from pyhon.appliance import HonAppliance
|
from pyhon.appliance import HonAppliance
|
||||||
|
from pyhon.parameter.range import HonParameterRange
|
||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from .hon import HonCoordinator, HonEntity
|
from .hon import HonCoordinator, HonEntity
|
||||||
|
Loading…
Reference in New Issue
Block a user