diff --git a/custom_components/philips_airpurifier_coap/const.py b/custom_components/philips_airpurifier_coap/const.py index c3fbcbd8..b424e2ba 100644 --- a/custom_components/philips_airpurifier_coap/const.py +++ b/custom_components/philips_airpurifier_coap/const.py @@ -296,6 +296,7 @@ class FanAttributes(StrEnum): STANDBY_SENSORS = "standby_sensors" AUTO_PLUS = "auto_plus" WATER_TANK = "water_tank" + AUTO_QUICKDRY_MODE = "auto_quickdry_mode" QUICKDRY_MODE = "quickdry_mode" @@ -428,6 +429,7 @@ class PhilipsApi: NEW2_TIMER = "D03110#1" NEW2_TIMER2 = "D03110#2" NEW2_AUTO_QUICKDRY_MODE = "D03138" + NEW2_QUICKDRY_MODE = "D03139" NEW2_REMAINING_TIME = "D03211" NEW2_TARGET_TEMP = "D0310E" NEW2_STANDBY_SENSORS = "D03134" @@ -812,6 +814,12 @@ class PhilipsApi: SWITCH_OFF: 0, }, PhilipsApi.NEW2_AUTO_QUICKDRY_MODE: { + ATTR_ICON: "mdi:clock-fast", + FanAttributes.LABEL: FanAttributes.AUTO_QUICKDRY_MODE, + SWITCH_ON: 1, + SWITCH_OFF: 0, + }, + PhilipsApi.NEW2_QUICKDRY_MODE: { ATTR_ICON: "mdi:clock-fast", FanAttributes.LABEL: FanAttributes.QUICKDRY_MODE, SWITCH_ON: 1, diff --git a/custom_components/philips_airpurifier_coap/philips.py b/custom_components/philips_airpurifier_coap/philips.py index 50fa6364..b4f3f9aa 100644 --- a/custom_components/philips_airpurifier_coap/philips.py +++ b/custom_components/philips_airpurifier_coap/philips.py @@ -1933,6 +1933,7 @@ class PhilipsHU5710(PhilipsNew2GenericCoAPFan): AVAILABLE_SWITCHES = [ PhilipsApi.NEW2_CHILD_LOCK, PhilipsApi.NEW2_BEEP, + PhilipsApi.NEW2_QUICKDRY_MODE, PhilipsApi.NEW2_AUTO_QUICKDRY_MODE, PhilipsApi.NEW2_STANDBY_SENSORS, ]