From 97cb96bf563ffc7f7f3df2b0437d51184f2e12ce Mon Sep 17 00:00:00 2001 From: kongo09 Date: Sun, 8 Dec 2024 22:16:20 +0100 Subject: [PATCH] try new oscillation value --- custom_components/philips_airpurifier_coap/philips.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/custom_components/philips_airpurifier_coap/philips.py b/custom_components/philips_airpurifier_coap/philips.py index 0850251..c19893f 100644 --- a/custom_components/philips_airpurifier_coap/philips.py +++ b/custom_components/philips_airpurifier_coap/philips.py @@ -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): @@ -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]