We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0e04da commit b80b253Copy full SHA for b80b253
custom_components/adaptive_lighting/switch.py
@@ -1993,6 +1993,13 @@ async def _service_interceptor_turn_on_handler( # noqa: PLR0911
1993
if self.manual_control.get(entity_id, False):
1994
return
1995
1996
+ if data.get(ATTR_BRIGHTNESS) == 0:
1997
+ _LOGGER.warning(
1998
+ "Turn-on call with zero brightness detected, Adaptive Lighting"
1999
+ " intercepted this service_call and adjusted it. If you use this as"
2000
+ " a brightness workaround, please remove it, it is no longer necessary",
2001
+ )
2002
+
2003
try:
2004
adaptive_switch = _switch_with_lights(self.hass, [entity_id])
2005
except NoSwitchFoundError:
0 commit comments