mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Flux log with debug instead of info (#28352)
This commit is contained in:
parent
ef92c5672d
commit
89df821113
@ -310,7 +310,7 @@ class FluxSwitch(SwitchDevice, RestoreEntity):
|
|||||||
await async_set_lights_xy(
|
await async_set_lights_xy(
|
||||||
self.hass, self._lights, x_val, y_val, brightness, self._transition
|
self.hass, self._lights, x_val, y_val, brightness, self._transition
|
||||||
)
|
)
|
||||||
_LOGGER.info(
|
_LOGGER.debug(
|
||||||
"Lights updated to x:%s y:%s brightness:%s, %s%% "
|
"Lights updated to x:%s y:%s brightness:%s, %s%% "
|
||||||
"of %s cycle complete at %s",
|
"of %s cycle complete at %s",
|
||||||
x_val,
|
x_val,
|
||||||
@ -322,7 +322,7 @@ class FluxSwitch(SwitchDevice, RestoreEntity):
|
|||||||
)
|
)
|
||||||
elif self._mode == MODE_RGB:
|
elif self._mode == MODE_RGB:
|
||||||
await async_set_lights_rgb(self.hass, self._lights, rgb, self._transition)
|
await async_set_lights_rgb(self.hass, self._lights, rgb, self._transition)
|
||||||
_LOGGER.info(
|
_LOGGER.debug(
|
||||||
"Lights updated to rgb:%s, %s%% " "of %s cycle complete at %s",
|
"Lights updated to rgb:%s, %s%% " "of %s cycle complete at %s",
|
||||||
rgb,
|
rgb,
|
||||||
round(percentage_complete * 100),
|
round(percentage_complete * 100),
|
||||||
@ -335,7 +335,7 @@ class FluxSwitch(SwitchDevice, RestoreEntity):
|
|||||||
await async_set_lights_temp(
|
await async_set_lights_temp(
|
||||||
self.hass, self._lights, mired, brightness, self._transition
|
self.hass, self._lights, mired, brightness, self._transition
|
||||||
)
|
)
|
||||||
_LOGGER.info(
|
_LOGGER.debug(
|
||||||
"Lights updated to mired:%s brightness:%s, %s%% "
|
"Lights updated to mired:%s brightness:%s, %s%% "
|
||||||
"of %s cycle complete at %s",
|
"of %s cycle complete at %s",
|
||||||
mired,
|
mired,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user