- fixed issue with light brightness setting

This commit is contained in:
Jack Simbach 2021-10-09 14:07:47 -04:00
parent 0aa02e3f71
commit 18143fe254
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@ class GeErdLight(GeErdEntity, LightEntity):
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)