From 985ff9dd07eaba48e684c29e7a951e03cd611980 Mon Sep 17 00:00:00 2001 From: Alone Date: Mon, 9 Oct 2023 16:53:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20add=20sub-entities=20for=20phili?= =?UTF-8?q?ps.light.aibed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 67b228b74..2d6341b78 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -876,6 +876,12 @@ 'number_properties': 'target_temperature,dry_time', }, + 'philips.light.aibed': { + 'switch_properties': 'night_en,wristband_switch,awake_enable_first,awake_enable_second,awake_enable_third', + 'select_properties': 'mode_main,mode_light,mode_sleep,mode_scene', + 'number_properties': 'sleep_duration,music_preview,sleep_volume,sleep_startbri,scene_volume', + 'button_actions': 'brightness_up,brightness_down,cct_up,cct_down,stop_preview', + }, 'philips.light.strip3': { 'switch_properties': 'mitv_rhythm,acousto_optic_rhythm', 'select_properties': 'rhythm_sensitivity,rhythm_animation',