Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add duotecno OFF hvac mode #103223

Merged
merged 10 commits into from
Nov 8, 2023
7 changes: 1 addition & 6 deletions homeassistant/components/duotecno/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@
}
HVACMODE_REVERSE: Final = {value: key for key, value in HVACMODE.items()}

PRESETMODES: Final = {
"sun": 0,
"half_sun": 1,
"moon": 2,
"half_moon": 3,
}
PRESETMODES: Final = {"sun": 0, "half_sun": 1, "moon": 2, "half_moon": 3, "off": 255}
PRESETMODES_REVERSE: Final = {value: key for key, value in PRESETMODES.items()}


Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/duotecno/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/duotecno",
"iot_class": "local_push",
"quality_scale": "silver",
"requirements": ["pyDuotecno==2023.10.1"]
"requirements": ["pyDuotecno==2023.11.0"]
}
3 changes: 2 additions & 1 deletion homeassistant/components/duotecno/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"sun": "Sun",
"half_sun": "Half sun",
"moon": "Moon",
"half_moon": "Half moon"
"half_moon": "Half moon",
"off": "Off"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ pyCEC==0.5.2
pyControl4==1.1.0

# homeassistant.components.duotecno
pyDuotecno==2023.10.1
pyDuotecno==2023.11.0

# homeassistant.components.electrasmart
pyElectra==1.2.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ pyCEC==0.5.2
pyControl4==1.1.0

# homeassistant.components.duotecno
pyDuotecno==2023.10.1
pyDuotecno==2023.11.0

# homeassistant.components.electrasmart
pyElectra==1.2.0
Expand Down