You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -98,7 +103,7 @@ for each device. The available exection methods are:
98
103
99
104
* **cmd**: local command line command. Arguments can be placed after the command.
100
105
* **url**: Call a url.
101
-
* **homeassistant**: send event to Homeassistant. This argument must be the address to the hass server (protocol and
106
+
* **homeassistant**: send event to Home Assistant. This argument must be the address to the hass server (protocol and
102
107
port are optional. By default http and 8123, respectively).
103
108
* **openhab**: send event to OpenHAB. This argument must be the address to the hass server (protocol and
104
109
port are optional. By default http and 8080, respectively).
@@ -248,13 +253,21 @@ Example:
248
253
confirmation: send-tg
249
254
250
255
251
-
Homeassistant event
252
-
~~~~~~~~~~~~~~~~~~~
256
+
Home Assistant event
257
+
~~~~~~~~~~~~~~~~~~~~
253
258
When the **homeassistant execution method** is used, the following options are available.
254
259
255
260
* **event** (required): Event name to send.
256
261
* **data**: Event data to send. Use json as string.
257
-
* **access**: HomeAssistant password for API (``x-ha-access`` header).
262
+
* **access_token**: Long-lived Home Assistant access token.
263
+
* **access**: Home Assistant legacy API password (``x-ha-access`` header).
264
+
265
+
Starting with version 0.78 of Home Assistant, there are two ways Amazon Dash can authenticate:
266
+
267
+
1. By providing a long-lived access token (generated within your Home Assistant profile page) via the ``access_token`` option.
268
+
2. By providing the legacy Home Assistant API password via the ``access`` option.
269
+
270
+
Although both options currently work, the Home Assistant project plans to deprecate (and likely remove) the legacy API password in the future; therefore, to properly future proof your Amazon Dash setup, the long-lived access token option is recommended.
258
271
259
272
The protocol and the port in the address of the Homeassistant server are optional. The syntax of the address is:
260
273
``[<protocol>://]<server>[:<port>]. For example: ``https://hassio.local:1234``.
@@ -337,6 +350,7 @@ Confirmations
337
350
-------------
338
351
The following **services** are supported to send confirmation messages.
339
352
353
+
340
354
Telegram
341
355
~~~~~~~~
342
356
For use a telegram service you need to define:
@@ -361,3 +375,32 @@ have not started a conversation before.
0 commit comments