mirror of https://github.com/Andre0512/hon.git
commit
b723744948
|
@ -14,18 +14,6 @@ from .hon import HonCoordinator, HonEntity
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = {
|
BUTTONS: dict[str, tuple[ButtonEntityDescription, ...]] = {
|
||||||
"OV": (
|
|
||||||
ButtonEntityDescription(
|
|
||||||
key="startProgram",
|
|
||||||
name="Start Program",
|
|
||||||
icon="mdi:power-cycle",
|
|
||||||
),
|
|
||||||
ButtonEntityDescription(
|
|
||||||
key="stopProgram",
|
|
||||||
name="Stop Program",
|
|
||||||
icon="mdi:power-off",
|
|
||||||
),
|
|
||||||
),
|
|
||||||
"IH": (
|
"IH": (
|
||||||
ButtonEntityDescription(
|
ButtonEntityDescription(
|
||||||
key="startProgram",
|
key="startProgram",
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"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.0"],
|
"requirements": ["pyhOn==0.8.1"],
|
||||||
"version": "0.6.0"
|
"version": "0.6.1"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,11 +70,6 @@ SELECTS = {
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
translation_key="programs",
|
translation_key="programs",
|
||||||
),
|
),
|
||||||
SelectEntityDescription(
|
|
||||||
key="startProgram.preheatStatus",
|
|
||||||
name="Preheat",
|
|
||||||
entity_category=EntityCategory.CONFIG,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
"IH": (
|
"IH": (
|
||||||
SelectEntityDescription(
|
SelectEntityDescription(
|
||||||
|
|
|
@ -73,6 +73,21 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
|
||||||
turn_off_key="resumeProgram",
|
turn_off_key="resumeProgram",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
"OV": (
|
||||||
|
HonSwitchEntityDescription(
|
||||||
|
key="active",
|
||||||
|
name="Oven",
|
||||||
|
icon="mdi:toaster-oven",
|
||||||
|
turn_on_key="startProgram",
|
||||||
|
turn_off_key="stopProgram",
|
||||||
|
),
|
||||||
|
HonSwitchEntityDescription(
|
||||||
|
key="startProgram.preheatStatus",
|
||||||
|
name="Preheat",
|
||||||
|
icon="mdi:thermometer-chevron-up",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
|
),
|
||||||
|
),
|
||||||
"WD": (
|
"WD": (
|
||||||
HonSwitchEntityDescription(
|
HonSwitchEntityDescription(
|
||||||
key="active",
|
key="active",
|
||||||
|
|
Loading…
Reference in New Issue