-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for nightmode switch #83
Conversation
…ta_update_coordinator files but did just in case
super().__init__("Night Mode", device) | ||
|
||
@property | ||
def is_on(self) -> int | None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this should be -> bool | None from ToggleEntity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good I just used the same code for the child lock switch which is an int but that makes more sense.
three lint errors |
once the api pr is merged please update |
Will do a separate commit for that, I'm just submitting what I have now for your review! |
Ok I have updated the blueair-api strings in the files. I haven't changed the integration version in manifest.json though |
Needs an upstream merge to resolve a conflict in requirements from ruff being updated by dependabot |
Ok fixed! |
No description provided.