Skip to content
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

V2 #266

Merged
merged 23 commits into from
Dec 27, 2023
Merged

V2 #266

merged 23 commits into from
Dec 27, 2023

Conversation

zim514
Copy link
Owner

@zim514 zim514 commented Dec 27, 2023

  • Hue API V2 support
  • Now uses standard scenes (requires reconfiguration)
  • Sunrise is now manually configured (Default 8AM)
  • Removed some unnecessary settings
  • Refactoring and code improvements

zim514 added 20 commits November 5, 2023 15:04
… method

Remove unused scene messages
Update readme
Add scene transition time to settings
Use Hue API V2 scenes, including resetting old / invalid scenes
Refactor Hue HTTP error handling
Undo using new settings class (v19 compatible)
Rename 'start' to 'play' for consistency with player action names
Add requests timeout
Refactor execution logic
Reload bridge settings
Improved connection error handling
Improve exception logging
Refactor IP discovery and discovery flow
Refactor Hue class execution, attempt bridge reconnection if the bridge settings changed
Improve core loop execution
Improve Timers execution
Simplify time handling and make consistent
Remove Qhue
Remove old hueconnection class
Ambilight force on is no longer needed as Hue API V2 will now turn the lights on without error if they are off.
Finish ambigroup implementation
Improve settings reloading and core execution loop
@zim514 zim514 self-assigned this Dec 27, 2023
Copy link

Qodana for Python

103 new problems were found

Inspection name Severity Problems
Unbound local variables 🔶 Warning 2
Incorrect type 🔶 Warning 1
PEP 8 coding style violation ◽️ Notice 64
An instance attribute is defined outside init`` ◽️ Notice 35
Unused local symbols ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@zim514 zim514 merged commit 630b26d into main Dec 27, 2023
5 checks passed
@zim514 zim514 deleted the v2 branch December 27, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant