mirror of
https://github.com/home-assistant/core.git
synced 2026-05-04 11:54:35 +02:00
add debug
This commit is contained in:
@@ -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])):
|
||||
|
||||
Reference in New Issue
Block a user