add debug

pull/34185/head
J. Nick Koston 2020-04-14 13:52:49 +00:00
parent b895e24195
commit 242220a02e
1 changed files with 5 additions and 0 deletions

View File

@ -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])):