From 94564d2d81026444ef51f19b09e8dcb0dfcb600c Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Fri, 18 Mar 2022 17:53:08 +0100 Subject: [PATCH 1/2] update errors to ignore --- homeassistant/components/hue/v2/group.py | 4 ++++ homeassistant/components/hue/v2/light.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/homeassistant/components/hue/v2/group.py b/homeassistant/components/hue/v2/group.py index 31c5a502853021..51b8a5c8465a03 100644 --- a/homeassistant/components/hue/v2/group.py +++ b/homeassistant/components/hue/v2/group.py @@ -42,6 +42,10 @@ 'device (groupedLight) is "soft off", command (on) may not have effect', "device (light) has communication issues, command (on) may not have effect", 'device (light) is "soft off", command (on) may not have effect', + "device (grouped_light) has communication issues, command (.on) may not have effect", + 'device (grouped_light) is "soft off", command (.on) may not have effect' + "device (light) has communication issues, command (.on) may not have effect", + 'device (light) is "soft off", command (.on) may not have effect', ] diff --git a/homeassistant/components/hue/v2/light.py b/homeassistant/components/hue/v2/light.py index ee40222b0836dc..3c7d0828342605 100644 --- a/homeassistant/components/hue/v2/light.py +++ b/homeassistant/components/hue/v2/light.py @@ -39,6 +39,8 @@ ALLOWED_ERRORS = [ "device (light) has communication issues, command (on) may not have effect", 'device (light) is "soft off", command (on) may not have effect', + "device (light) has communication issues, command (.on) may not have effect", + 'device (light) is "soft off", command (.on) may not have effect', ] From d7b17fcdb441deb856ed992944481664c4799311 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Fri, 18 Mar 2022 21:14:06 +0100 Subject: [PATCH 2/2] Add .on.on command --- homeassistant/components/hue/v2/group.py | 4 ++++ homeassistant/components/hue/v2/light.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/homeassistant/components/hue/v2/group.py b/homeassistant/components/hue/v2/group.py index 51b8a5c8465a03..948609f4c13751 100644 --- a/homeassistant/components/hue/v2/group.py +++ b/homeassistant/components/hue/v2/group.py @@ -44,8 +44,12 @@ 'device (light) is "soft off", command (on) may not have effect', "device (grouped_light) has communication issues, command (.on) may not have effect", 'device (grouped_light) is "soft off", command (.on) may not have effect' + "device (grouped_light) has communication issues, command (.on.on) may not have effect", + 'device (grouped_light) is "soft off", command (.on.on) may not have effect' "device (light) has communication issues, command (.on) may not have effect", 'device (light) is "soft off", command (.on) may not have effect', + "device (light) has communication issues, command (.on.on) may not have effect", + 'device (light) is "soft off", command (.on.on) may not have effect', ] diff --git a/homeassistant/components/hue/v2/light.py b/homeassistant/components/hue/v2/light.py index 3c7d0828342605..5b4574c717c818 100644 --- a/homeassistant/components/hue/v2/light.py +++ b/homeassistant/components/hue/v2/light.py @@ -41,6 +41,8 @@ 'device (light) is "soft off", command (on) may not have effect', "device (light) has communication issues, command (.on) may not have effect", 'device (light) is "soft off", command (.on) may not have effect', + "device (light) has communication issues, command (.on.on) may not have effect", + 'device (light) is "soft off", command (.on.on) may not have effect', ]