Skip to content

Commit

Permalink
- fixed issue with light brightness setting
Browse files Browse the repository at this point in the history
  • Loading branch information
simbaja committed Oct 9, 2021
1 parent 0aa02e3 commit 18143fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ge_home/entities/common/ge_erd_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ async def async_turn_on(self, **kwargs):
brightness = kwargs.pop(ATTR_BRIGHTNESS, 255)

_LOGGER.debug(f"Turning on {self.unique_id}")
await self._set_brightness(brightness, kwargs)
await self._set_brightness(brightness, **kwargs)

async def async_turn_off(self, **kwargs):
"""Turn the light off."""
_LOGGER.debug(f"Turning off {self.unique_id}")
await self._set_brightness(0, kwargs)
await self._set_brightness(0, **kwargs)

0 comments on commit 18143fe

Please sign in to comment.