Skip to content

Commit

Permalink
add firmware variants for AC0850/31 and /41
Browse files Browse the repository at this point in the history
  • Loading branch information
kongo09 committed Dec 6, 2024
1 parent a5222bd commit 00e9e08
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
6 changes: 4 additions & 2 deletions custom_components/philips_airpurifier_coap/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ class FanModel(StrEnum):
AC0850_11C = "AC0850/11 AWS_Philips_AIR_Combo"
AC0850_20 = "AC0850/20 AWS_Philips_AIR"
AC0850_20C = "AC0850/20 AWS_Philips_AIR_Combo"
AC0850_31 = "AC0850/31"
AC0850_41 = "AC0850/41"
AC0850_31 = "AC0850/31 AWS_Philips_AIR"
AC0850_31C = "AC0850/31 AWS_Philips_AIR_Combo"
AC0850_41 = "AC0850/41 AWS_Philips_AIR"
AC0850_41C = "AC0850/41 AWS_Philips_AIR_Combo"
AC0850_81 = "AC0850/81"
AC0850_85 = "AC0850/85"
AC0950 = "AC0950"
Expand Down
14 changes: 12 additions & 2 deletions custom_components/philips_airpurifier_coap/philips.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,11 +581,19 @@ class PhilipsAC085020C(PhilipsAC085011C):


class PhilipsAC085031(PhilipsAC085011):
"""AC0850/31."""
"""AC0850/31 with firmware AWS_Philips_AIR."""


class PhilipsAC085031C(PhilipsAC085011C):
"""AC0850/31 with firmware AWS_Philips_AIR_Combo."""


class PhilipsAC085041(PhilipsAC085011):
"""AC0850/41."""
"""AC0850/41 with firmware AWS_Philips_AIR."""


class PhilipsAC085041C(PhilipsAC085011C):
"""AC0850/41 with firmware AWS_Philips_AIR_Combo."""


class PhilipsAC085081(PhilipsAC085011C):
Expand Down Expand Up @@ -1998,7 +2006,9 @@ class PhilipsHU5710(PhilipsNew2GenericFan):
FanModel.AC0850_20: PhilipsAC085020,
FanModel.AC0850_20C: PhilipsAC085020C,
FanModel.AC0850_31: PhilipsAC085031,
FanModel.AC0850_31C: PhilipsAC085031C,
FanModel.AC0850_41: PhilipsAC085041,
FanModel.AC0850_41C: PhilipsAC085041C,
FanModel.AC0850_81: PhilipsAC085081,
FanModel.AC0850_85: PhilipsAC085085,
FanModel.AC0950: PhilipsAC0950,
Expand Down

0 comments on commit 00e9e08

Please sign in to comment.