From bd7946fb399cdd2d20cbb1c26d51565d97399eb6 Mon Sep 17 00:00:00 2001 From: kongo09 Date: Sat, 7 Dec 2024 18:35:34 +0100 Subject: [PATCH] add support for AC0850/41 --- README.md | 8 ++++++-- custom_components/philips_airpurifier_coap/const.py | 2 ++ custom_components/philips_airpurifier_coap/philips.py | 10 ++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5795489..312eb23 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,12 @@ Note: Some of these models seem to have a newer firmware that does not allow loc - AC0850/11 AWS_Philips_AIR_Combo - AC0850/20 AWS_Philips_AIR - AC0850/20 AWS_Philips_AIR_Combo -- AC0850/31 -- AC0850/41 +- AC0850/31 AWS_Philips_AIR +- AC0850/31 AWS_Philips_AIR_Combo +- AC0850/41 AWS_Philips_AIR +- AC0850/41 AWS_Philips_AIR_Combo +- AC0850/70 AWS_Philips_AIR +- AC0850/70 AWS_Philips_AIR_Combo - AC0850/81 - AC0850/85 - AC0950 diff --git a/custom_components/philips_airpurifier_coap/const.py b/custom_components/philips_airpurifier_coap/const.py index b199b4d..4fdeaeb 100644 --- a/custom_components/philips_airpurifier_coap/const.py +++ b/custom_components/philips_airpurifier_coap/const.py @@ -115,6 +115,8 @@ class FanModel(StrEnum): AC0850_31C = "AC0850/31 AWS_Philips_AIR_Combo" AC0850_41 = "AC0850/41 AWS_Philips_AIR" AC0850_41C = "AC0850/41 AWS_Philips_AIR_Combo" + AC0850_70 = "AC0850/70 AWS_Philips_AIR" + AC0850_70C = "AC0850/70 AWS_Philips_AIR_Combo" AC0850_81 = "AC0850/81" AC0850_85 = "AC0850/85" AC0950 = "AC0950" diff --git a/custom_components/philips_airpurifier_coap/philips.py b/custom_components/philips_airpurifier_coap/philips.py index 9eacc2f..754b394 100644 --- a/custom_components/philips_airpurifier_coap/philips.py +++ b/custom_components/philips_airpurifier_coap/philips.py @@ -591,6 +591,14 @@ class PhilipsAC085041C(PhilipsAC085011C): """AC0850/41 with firmware AWS_Philips_AIR_Combo.""" +class PhilipsAC085070(PhilipsAC085011): + """AC0850/70 with firmware AWS_Philips_AIR.""" + + +class PhilipsAC085070C(PhilipsAC085011C): + """AC0850/70 with firmware AWS_Philips_AIR_Combo.""" + + class PhilipsAC085081(PhilipsAC085011C): """AC0850/81.""" @@ -2061,6 +2069,8 @@ class PhilipsHU5710(PhilipsNew2GenericFan): FanModel.AC0850_31C: PhilipsAC085031C, FanModel.AC0850_41: PhilipsAC085041, FanModel.AC0850_41C: PhilipsAC085041C, + FanModel.AC0850_70: PhilipsAC085070, + FanModel.AC0850_70C: PhilipsAC085070C, FanModel.AC0850_81: PhilipsAC085081, FanModel.AC0850_85: PhilipsAC085085, FanModel.AC0950: PhilipsAC0950,