Update bond-api to 0.1.8 (#38442)
* Bump bond API dependency version * Bump bond API dependency version (PR feedback)
This commit is contained in:
1 parent
04e5fc7ccd
commit
2e340d2c2f
4 files changed
+4
-4
No files matched your search
@@ -82,7 +82,7 @@ class BondLight(BondEntity, LightEntity):
|
||||
if brightness:
|
||||
await self._hub.bond.action(
|
||||
self._device.device_id,
|
||||
Action(Action.SET_BRIGHTNESS, round((brightness * 100) / 255)),
|
||||
Action.set_brightness(round((brightness * 100) / 255)),
|
||||
)
|
||||
else:
|
||||
await self._hub.bond.action(self._device.device_id, Action.turn_light_on())
|
||||
|
||||
Reference in new issue
Block a user