Updated oven #27

Merged
MiguelAngelLV merged 6 commits from main into main 2023-04-19 20:32:26 +02:00
7 changed files with 7 additions and 5 deletions
Showing only changes of commit 5dbf508519 - Show all commits

View File

@ -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",

View File

@ -14,7 +14,7 @@ from .hon import HonCoordinator, HonEntity
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = { BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = {
"IV": ( "IH": (
ButtonEntityDescription( ButtonEntityDescription(
key="startProgram", key="startProgram",
name="Start Program", name="Start Program",

View File

@ -8,4 +8,5 @@
"issue_tracker": "https://github.com/Andre0512/hon/issues", "issue_tracker": "https://github.com/Andre0512/hon/issues",
"requirements": ["pyhOn"], "requirements": ["pyhOn"],
"version": "0.6.0-beta.3" "version": "0.6.0-beta.3"
} }

View File

@ -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",

View File

@ -71,7 +71,7 @@ SELECTS = {
translation_key="programs", translation_key="programs",
), ),
), ),
"IV": ( "IH": (
SelectEntityDescription( SelectEntityDescription(
key="startProgram.program", key="startProgram.program",
name="Program", name="Program",

View File

@ -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",

View File

@ -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