mirror of
https://github.com/Andre0512/hon.git
synced 2024-12-22 10:45:30 +00:00
Change Sterilization and Anti-Crease to switch
This commit is contained in:
parent
13a23eb6e1
commit
4c3f6604d3
|
@ -53,19 +53,6 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
|
||||||
icon="mdi:thermometer",
|
icon="mdi:thermometer",
|
||||||
translation_key="tumbledryertemplevel",
|
translation_key="tumbledryertemplevel",
|
||||||
),
|
),
|
||||||
NumberEntityDescription(
|
|
||||||
key="startProgram.antiCreaseTime",
|
|
||||||
name="Anti-Crease time",
|
|
||||||
entity_category=EntityCategory.CONFIG,
|
|
||||||
icon="mdi:timer",
|
|
||||||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
|
||||||
),
|
|
||||||
NumberEntityDescription(
|
|
||||||
key="startProgram.sterilizationStatus",
|
|
||||||
name="Sterilization status",
|
|
||||||
icon="mdi:clock-start",
|
|
||||||
entity_category=EntityCategory.CONFIG,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
"WD": (
|
"WD": (
|
||||||
NumberEntityDescription(
|
NumberEntityDescription(
|
||||||
|
|
|
@ -72,6 +72,18 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
|
||||||
turn_on_key="pauseProgram",
|
turn_on_key="pauseProgram",
|
||||||
turn_off_key="resumeProgram",
|
turn_off_key="resumeProgram",
|
||||||
),
|
),
|
||||||
|
HonSwitchEntityDescription(
|
||||||
|
key="startProgram.sterilizationStatus",
|
||||||
|
name="Sterilization",
|
||||||
|
icon="mdi:clock-start",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
|
),
|
||||||
|
HonSwitchEntityDescription(
|
||||||
|
key="startProgram.antiCreaseTime",
|
||||||
|
name="Anti-Crease",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
|
icon="mdi:timer",
|
||||||
|
),
|
||||||
),
|
),
|
||||||
"OV": (
|
"OV": (
|
||||||
HonSwitchEntityDescription(
|
HonSwitchEntityDescription(
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
"103": "Remote"
|
"103": "Remote"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"tumbledryertemplevel": {
|
"tumbledryertemplevel": {
|
||||||
"state": {
|
"state": {
|
||||||
"1": "Cool",
|
"1": "Cool",
|
||||||
|
|
Loading…
Reference in a new issue