-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update discover.py * Update configHandler.py * end wake up * Update v2restapi.py Add behavior instance to clip/v2/resource, to solve problem as in issue 873, now the app shows the automations * wrong response * add all buttons to response * Update discover.py Fix issue where lights with the same mac address but different modelid get the same ip address * update wake-up fix error "Exception while processing the schedule X | 'turn_lights_off_after'" if "turn_lights_off_after" is not specified * fix add light in hue app * Update requirements.txt * Update requirements.txt * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update requirements.txt * Update requirements.txt * Update Dockerfile * Update requirements.txt * Update Dockerfile * revert to old working * Update Dockerfile * Add identify request, non standard gateway, update version and api * add easter egg * Update Credits.py
- Loading branch information
1 parent
2db6a0b
commit 571a0e3
Showing
2 changed files
with
154 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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,151 @@ | ||
from flask_restful import Resource | ||
|
||
class Credits(Resource): | ||
def get(self, resource): | ||
if resource == "packages.json": | ||
response = [ | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/mariusmotea", | ||
], | ||
"licenses": { | ||
"Main Developer & Mastermind of DiyHue":"" | ||
}, | ||
"Version": "", | ||
"Package": "Marius", | ||
"Website": "https://github.com/mariusmotea" | ||
}, | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/cheesemarathon", | ||
], | ||
"licenses": { | ||
"Github & CI/CD Wizard":"" | ||
}, | ||
"Version": "", | ||
"Package": "cheesemarathon", | ||
"Website": "https://github.com/cheesemarathon" | ||
}, | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/Mevel", | ||
], | ||
"licenses": { | ||
"Maintainer & Support":"" | ||
}, | ||
"Version": "", | ||
"Package": "Mevel", | ||
"Website": "https://github.com/Mevel" | ||
}, | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/fisico", | ||
], | ||
"licenses": { | ||
"Designed and developed the user interface":"" | ||
}, | ||
"Version": "", | ||
"Package": "David", | ||
"Website": "https://github.com/fisico" | ||
}, | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/philharmonie", | ||
], | ||
"licenses": { | ||
"React consultant":"" | ||
}, | ||
"Version": "", | ||
"Package": "Phil", | ||
"Website": "https://github.com/philharmonie" | ||
}, | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/hendriksen-mark", | ||
], | ||
"licenses": { | ||
"Maintainer & Support":"" | ||
}, | ||
"Version": "", | ||
"Package": "Mark", | ||
"Website": "https://github.com/hendriksen-mark" | ||
}, | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/diyhue/diyHue/graphs/contributors", | ||
], | ||
"licenses": { | ||
"A big thank you to everyone contributing to this project":"" | ||
}, | ||
"Version": "", | ||
"Package": "Thank you!", | ||
"Website": "https://github.com/diyhue/diyHue/graphs/contributors" | ||
} | ||
] | ||
return response | ||
elif resource == "hardcoded.json": | ||
response = [ | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/diyhue/diyHue", | ||
], | ||
"licenses": { | ||
"Main diyHue software repo":"" | ||
}, | ||
"Version": "", | ||
"Package": "DiyHue", | ||
"Website": "https://github.com/diyhue/diyHue" | ||
} | ||
] | ||
return response | ||
elif resource == "rust-packages.json": | ||
response = [ | ||
{ | ||
"Attributions": [], | ||
"SPDX-License-Identifiers": [ | ||
"" | ||
], | ||
"SourceLinks": [ | ||
"https://github.com/diyhue", | ||
], | ||
"licenses": { | ||
"diyHue repositories":"" | ||
}, | ||
"Version": "", | ||
"Package": "DiyHue Repositories", | ||
"Website": "https://github.com/diyhue" | ||
} | ||
] | ||
return response |