Add Tumble Dryer support, tested with haier HD80-A3959 and Bulgarian translation #6

Merged
drudgebg merged 10 commits from main into main 2023-03-21 22:14:56 +01:00
Showing only changes of commit 1a53ee7e5e - Show all commits

View File

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