Skip to content

Commit 8777e4c

Browse files
committed
fix: missing publish updates and local state update for non-aws device set fan speed
1 parent 8f1e5de commit 8777e4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/blueair_api/device.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,6 @@ async def refresh(self):
9696
self.publish_updates()
9797

9898
async def set_fan_speed(self, new_speed):
99+
self.fan_speed = new_speed
99100
await self.api.set_fan_speed(self.uuid, new_speed)
101+
self.publish_updates()

0 commit comments

Comments
 (0)