mirror of
https://github.com/Andre0512/hon.git
synced 2024-01-19 02:50:19 +00:00
Merged
This commit is contained in:
commit
5dbf508519
|
@ -124,7 +124,7 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = {
|
|||
icon="mdi:power-cycle",
|
||||
),
|
||||
),
|
||||
"IV": (
|
||||
"IH": (
|
||||
HonBinarySensorEntityDescription(
|
||||
key="attributes.lastConnEvent.category",
|
||||
name="Connection",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -8,4 +8,5 @@
|
|||
"issue_tracker": "https://github.com/Andre0512/hon/issues",
|
||||
"requirements": ["pyhOn"],
|
||||
"version": "0.6.0-beta.3"
|
||||
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
|
|||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
||||
),
|
||||
),
|
||||
"IV": (
|
||||
"IH": (
|
||||
NumberEntityDescription(
|
||||
key="startProgram.temp",
|
||||
name="Temperature",
|
||||
|
|
|
@ -71,7 +71,7 @@ SELECTS = {
|
|||
translation_key="programs",
|
||||
),
|
||||
),
|
||||
"IV": (
|
||||
"IH": (
|
||||
SelectEntityDescription(
|
||||
key="startProgram.program",
|
||||
name="Program",
|
||||
|
|
|
@ -221,7 +221,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
icon="mdi:thermometer",
|
||||
),
|
||||
),
|
||||
"IV": (
|
||||
"IH": (
|
||||
SensorEntityDescription(
|
||||
key="remainingTimeMM",
|
||||
name="Remaining Time",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue