Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
2c6def8f57 | |||
b723744948 | |||
e0081bf75e | |||
554ce1d7ff | |||
256c691213 | |||
7fb68be033 | |||
5dbf508519 | |||
7d3813b8fd |
@ -172,13 +172,12 @@ I moved the api related stuff into the package [pyhOn](https://github.com/Andre0
|
||||
#### Controls
|
||||
| Name | Icon | Entity | Key |
|
||||
| --- | --- | --- | --- |
|
||||
| Start Program | `mdi:power-cycle` | `button` | `startProgram` |
|
||||
| Stop Program | `mdi:power-off` | `button` | `stopProgram` |
|
||||
| Oven | `mdi:toaster-oven` | `switch` | `startProgram` / `stopProgram` |
|
||||
#### Configs
|
||||
| Name | Icon | Entity | Key |
|
||||
| --- | --- | --- | --- |
|
||||
| Delay time | `mdi:timer-plus` | `number` | `startProgram.delayTime` |
|
||||
| Preheat | | `select` | `startProgram.preheatStatus` |
|
||||
| Preheat | `mdi:thermometer-chevron-up` | `switch` | `startProgram.preheatStatus` |
|
||||
| Program | | `select` | `startProgram.program` |
|
||||
| Program Duration | `mdi:timelapse` | `number` | `startProgram.prTime` |
|
||||
| Target Temperature | `mdi:thermometer` | `number` | `startProgram.tempSel` |
|
||||
|
@ -14,18 +14,6 @@ from .hon import HonCoordinator, HonEntity
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
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": (
|
||||
ButtonEntityDescription(
|
||||
key="startProgram",
|
||||
|
@ -6,6 +6,6 @@
|
||||
"documentation": "https://github.com/Andre0512/hon/",
|
||||
"iot_class": "cloud_polling",
|
||||
"issue_tracker": "https://github.com/Andre0512/hon/issues",
|
||||
"requirements": ["pyhOn==0.8.0"],
|
||||
"version": "0.6.0"
|
||||
"requirements": ["pyhOn==0.8.1"],
|
||||
"version": "0.6.1"
|
||||
}
|
||||
|
@ -70,11 +70,6 @@ SELECTS = {
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="programs",
|
||||
),
|
||||
SelectEntityDescription(
|
||||
key="startProgram.preheatStatus",
|
||||
name="Preheat",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
),
|
||||
"IH": (
|
||||
SelectEntityDescription(
|
||||
|
@ -73,6 +73,21 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
|
||||
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": (
|
||||
HonSwitchEntityDescription(
|
||||
key="active",
|
||||
|
Reference in New Issue
Block a user