Update __init__.py

This commit is contained in:
avollkopf 2021-11-08 14:09:32 +01:00
parent 2462f9329a
commit 5b0f351a98

View file

@ -83,8 +83,6 @@ class GPIOPWMActor(CBPiActor):
self.power = 0 self.power = 0
if self.power > 100: if self.power > 100:
self.power = 100 self.power = 100
item = self.cbpi.actor.find_by_id(self.id)
item.power = self.power
await self.set_power(self.power) await self.set_power(self.power)
async def on_start(self): async def on_start(self):