diff --git a/src/blueair_api/device_aws.py b/src/blueair_api/device_aws.py index 5a26005..2133e4c 100644 --- a/src/blueair_api/device_aws.py +++ b/src/blueair_api/device_aws.py @@ -98,6 +98,11 @@ async def set_child_lock(self, child_lock: bool): self.child_lock = child_lock await self.api.set_device_info(self.uuid, "childlock", "vb", child_lock) self.publish_updates() + + async def set_night_mode(self, night_mode: bool): + self.night_mode = night_mode + await self.api.set_device_info(self.uuid, "nightmode", "vb", night_mode) + self.publish_updates() def __repr__(self): return {