Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Add denug for turn on pilot
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidy committed Feb 3, 2021
1 parent 42bc576 commit 519d846
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions custom_components/wiz_light/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,13 @@ async def async_turn_on(self, **kwargs):
pilot = PilotBuilder(
brightness=brightness, colortemp=colortemp, scene=sceneid
)
_LOGGER.debug(
"[wizlight %s] Pilot will be send with brightness=%s, colortemp=%s, scene=%s",
self._light.ip,
brightness,
colortemp,
sceneid,
)
await self._light.turn_on(pilot)

async def async_turn_off(self, **kwargs):
Expand Down

0 comments on commit 519d846

Please sign in to comment.