indentation

This commit is contained in:
Bas Nijholt 2023-07-29 12:34:45 -07:00
commit 3261e9f78c

View file

@ -2059,20 +2059,20 @@ class AdaptiveLightingManager:
transition=transition,
force=True,
)
if skipped:
# Modify the service data inplace
modify_service_data(data, skipped)
if not has_intercepted:
pass # The call will be intercepted with the modified data
else:
# Call light turn_on service for skipped entities
await self.hass.services.async_call(
LIGHT_DOMAIN,
SERVICE_TURN_ON,
data,
blocking=True,
context=call.context,
)
return # The call will be intercepted with the modified data
# Call light turn_on service for skipped entities
await self.hass.services.async_call(
LIGHT_DOMAIN,
SERVICE_TURN_ON,
data,
blocking=True,
context=call.context,
)
async def _service_interceptor_turn_on_single_light_handler(
self,