mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Remove hass.config from aws_lambda notify payload (#8966)
This commit is contained in:
parent
3983a70db5
commit
8fbaca1ba1
@ -56,7 +56,7 @@ name:
|
|||||||
default: notify
|
default: notify
|
||||||
type: string
|
type: string
|
||||||
context:
|
context:
|
||||||
description: An optional dictionary you can provide to pass custom context through to the Lambda function. The `context` dictionary (if any) is combined with the same data available at the `/api/config` HTTP API route.
|
description: An optional dictionary you can provide to pass custom context through to the Lambda function.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
@ -82,15 +82,6 @@ The context will look like this:
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"hass": {
|
|
||||||
"components": ["recorder", "logger", "http", "logbook", "api", "frontend"],
|
|
||||||
"latitude": 44.1234,
|
|
||||||
"location_name": "Home",
|
|
||||||
"longitude": 5.5678,
|
|
||||||
"unit_system": "metric",
|
|
||||||
"time_zone": "Europe/Zurich",
|
|
||||||
"version": "0.20.0.dev0"
|
|
||||||
},
|
|
||||||
"custom": {
|
"custom": {
|
||||||
"two": "three",
|
"two": "three",
|
||||||
"test": "one"
|
"test": "one"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user