From 242220a02e8d8e9ec5e21930470b2adb97c75e2b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 14 Apr 2020 13:52:49 +0000 Subject: [PATCH] add debug --- homeassistant/components/emulated_hue/hue_api.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/emulated_hue/hue_api.py b/homeassistant/components/emulated_hue/hue_api.py index 9637b0fb3718..7600a0c04bb8 100644 --- a/homeassistant/components/emulated_hue/hue_api.py +++ b/homeassistant/components/emulated_hue/hue_api.py @@ -393,6 +393,11 @@ class HueOneLightChangeView(HomeAssistantView): data[ATTR_BRIGHTNESS] = hue_brightness_to_hass( parsed[STATE_BRIGHTNESS] ) + _LOGGER.debug( + "Set brightness incoming from hueapi: %s outgoing to hass: %s", + parsed[STATE_BRIGHTNESS], + data[ATTR_BRIGHTNESS], + ) if entity_features & SUPPORT_COLOR: if any((parsed[STATE_HUE], parsed[STATE_SATURATION])):