-
Notifications
You must be signed in to change notification settings - Fork 129
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
Type hint gateway #442
Type hint gateway #442
Conversation
I believe this constant might need some consideration when we've sorted out type hints on the Gateway class: pytradfri/pytradfri/command.py Line 7 in a979ed1
|
We can change it to return |
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
I ended up doing the same with the |
Would you oppose if we deprecated moods and smart tasks? I for one don't use them and don't really feel they're worth maintaining. For users who need those features, we could point to Home Assistant. |
I think the library should represent the tradfri api as close as possible. I don't think we should remove it. |
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.
Are you planning to type the rest of the gateway module in this PR?
No, the rest of the file will be a follow-up PR. Felt that was a bit easier to comprehend. |
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
I hadn't planned on touching |
Yeah, I'll look at that separately. 👍 |
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.
Nice!
No description provided.