mirror of
https://github.com/Andre0512/hon.git
synced 2024-01-19 02:50:19 +00:00
Update switch.py
Add Tumble Dryer
This commit is contained in:
parent
fbee75108d
commit
1a53ee7e5e
|
@ -53,6 +53,22 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
|
||||||
entity_category=EntityCategory.CONFIG
|
entity_category=EntityCategory.CONFIG
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
"TD": (
|
||||||
|
HonSwitchEntityDescription(
|
||||||
|
key="active",
|
||||||
|
name="Tumble Dryer",
|
||||||
|
icon="mdi:tumble-dryer",
|
||||||
|
turn_on_key="startProgram",
|
||||||
|
turn_off_key="stopProgram",
|
||||||
|
),
|
||||||
|
HonSwitchEntityDescription(
|
||||||
|
key="pause",
|
||||||
|
name="Pause Tumble Dryer",
|
||||||
|
icon="mdi:pause",
|
||||||
|
turn_on_key="pauseProgram",
|
||||||
|
turn_off_key="resumeProgram",
|
||||||
|
),
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue