Skip to content

Commit

Permalink
Correct brightness code
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbadblunt committed May 26, 2020
1 parent 396104e commit b676867
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/lightwave2/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ async def async_turn_on(self, **kwargs):
await self._lwlink.async_set_brightness_by_featureset_id(
self._featureset_id, int(round(self._brightness / 255 * 100)))


self._state = True
await self._lwlink.async_turn_on_by_featureset_id(self._featureset_id)

Expand Down

0 comments on commit b676867

Please sign in to comment.