-
Notifications
You must be signed in to change notification settings - Fork 278
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 |