Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to improve discovery and cleanup
This commit includes changes to the discovery process by having discovery information stored and retrieved from the SampleEndpointDetails with a reference to AWS IoT via thingName. Additionally, there is cleanup on the Alexa response handling and initial considerations for the cooking capabilities.
- Loading branch information
1 parent
ded74d2
commit 835e2a7
Showing
13 changed files
with
800 additions
and
705 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
17 changes: 13 additions & 4 deletions
17
sample_backend/lambda/lambda_api/python/alexa/skills/smarthome/__init__.py
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 |
---|---|---|
@@ -1,7 +1,16 @@ | ||
from .alexa_acceptgrant_response import AlexaAcceptGrantResponse | ||
from .alexa_change_report import AlexaChangeReport | ||
# -*- coding: utf-8 -*- | ||
|
||
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# | ||
# Licensed under the Amazon Software License (the "License"). You may not use this file except in | ||
# compliance with the License. A copy of the License is located at | ||
# | ||
# http://aws.amazon.com/asl/ | ||
# | ||
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific | ||
# language governing permissions and limitations under the License. | ||
|
||
from .alexa_discover_response import AlexaDiscoverResponse | ||
from .alexa_error import AlexaError | ||
from .alexa_power_controller import AlexaPowerController | ||
from .alexa_response import AlexaResponse | ||
from .alexa_utils import get_utc_timestamp |
45 changes: 0 additions & 45 deletions
45
sample_backend/lambda/lambda_api/python/alexa/skills/smarthome/alexa_acceptgrant_response.py
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
sample_backend/lambda/lambda_api/python/alexa/skills/smarthome/alexa_change_report.py
This file was deleted.
Oops, something went wrong.
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
63 changes: 0 additions & 63 deletions
63
sample_backend/lambda/lambda_api/python/alexa/skills/smarthome/alexa_error.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.