-
-
Notifications
You must be signed in to change notification settings - Fork 198
Add an option to update hue scenes based on a keywork #1019
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
Open
BenoitAnastay
wants to merge
28
commits into
basnijholt:main
Choose a base branch
from
BenoitAnastay:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 19 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f9bc6b9
initial reimplementation of hue scene updating
BenoitAnastay 28e9170
Fixs
BenoitAnastay 6c2308b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1714b62
➕ pip install aiohue-BenoitAnastay
BenoitAnastay e8bd933
Merge branch 'main' of https://github.com/BenoitAnastay/adaptive-ligh…
BenoitAnastay 9d19f11
🚨 a bit of lint
BenoitAnastay 9e50753
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 426696c
➕ add pip install aiohue
BenoitAnastay 25f8406
avoid oob values, convert kelvin to mired
BenoitAnastay 5d680b4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ae3a727
Cleanup dependencies
BenoitAnastay 3c16d17
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9163079
⬆️ Update to API V2
BenoitAnastay 6968f13
Merge branch 'basnijholt:main' into main
BenoitAnastay e71bbef
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4516a89
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 30fd0d8
🚨 lint
BenoitAnastay 6e4a419
🚨 lint
BenoitAnastay f21c01a
Merge branch 'main' of https://github.com/BenoitAnastay/adaptive-ligh…
BenoitAnastay 5e40647
🎨 Set `color_temp` for lights individually
BenoitAnastay d8a4f55
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 47bb470
🐛 Updates scenes when lights are off
BenoitAnastay 40357ac
🐛 Fix `internal servor error` with some values
BenoitAnastay 908081c
⚡️ Add a 5 minutes delay between updates of each keyword
BenoitAnastay d81c77a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 56cefce
🚨 lint
BenoitAnastay 2e42467
Merge branch 'main' into main
BenoitAnastay 51ac388
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| """Help fixing a serialization issue.""" | ||
|
|
||
| from dataclasses import dataclass | ||
|
|
||
|
|
||
| @dataclass | ||
| class ResourceIdentifier: | ||
| """Represent a ResourceIdentifier object as used by the Hue api. | ||
|
|
||
| clip-api.schema.json#/definitions/ResourceIdentifierGet | ||
| clip-api.schema.json#/definitions/ResourceIdentifierPost | ||
| clip-api.schema.json#/definitions/ResourceIdentifierPut | ||
| clip-api.schema.json#/definitions/ResourceIdentifierDelete | ||
| """ | ||
|
|
||
| rid: str # UUID | ||
| rtype: str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.