Skip to content

Commit

Permalink
try new oscillation value
Browse files Browse the repository at this point in the history
  • Loading branch information
kongo09 committed Dec 8, 2024
1 parent 6aea743 commit 97cb96b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions custom_components/philips_airpurifier_coap/philips.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,10 +849,11 @@ class PhilipsAC2729(PhilipsGenericFan):
AVAILABLE_HUMIDIFIERS = [PhilipsApi.HUMIDITY_TARGET]
AVAILABLE_BINARY_SENSORS = [PhilipsApi.ERROR_CODE]

AVAILABLE_HEATERS = [PhilipsApi.NEW2_TARGET_TEMP]
KEY_OSCILLATION = {
PhilipsApi.NEW2_OSCILLATION: PhilipsApi.OSCILLATION_MAP3,
}
# only for experimental purposes
# AVAILABLE_HEATERS = [PhilipsApi.NEW2_TARGET_TEMP]
# KEY_OSCILLATION = {
# PhilipsApi.NEW2_OSCILLATION: PhilipsApi.OSCILLATION_MAP3,
# }


class PhilipsAC2889(PhilipsGenericFan):
Expand Down Expand Up @@ -1905,7 +1906,7 @@ class PhilipsCX5120(PhilipsNew2GenericFan):
},
}
KEY_OSCILLATION = {
PhilipsApi.NEW2_OSCILLATION: PhilipsApi.OSCILLATION_MAP,
PhilipsApi.NEW2_OSCILLATION: PhilipsApi.OSCILLATION_MAP2,
}

AVAILABLE_LIGHTS = [PhilipsApi.NEW2_DISPLAY_BACKLIGHT2]
Expand Down

0 comments on commit 97cb96b

Please sign in to comment.