mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update device_trigger.mqtt.markdown (#29471)
This commit is contained in:
parent
3cd0cbcfc0
commit
33d6e56e49
@ -102,7 +102,22 @@ Note that it is not necessary to provide the full device information in each mes
|
||||
- Discovery payload:
|
||||
|
||||
```json
|
||||
{"automation_type":"trigger","type":"action","subtype":"arrow_left_click","payload":"arrow_left_click","topic":"zigbee2mqtt/0x90fd9ffffedf1266/action","device":{"identifiers":["zigbee2mqtt_0x90fd9ffffedf1266"],"name":"0x90fd9ffffedf1266","sw_version":"Zigbee2MQTT 1.14.0","model":"TRADFRI remote control (E1524/E1810)","manufacturer":"IKEA"}}
|
||||
{
|
||||
"automation_type": "trigger",
|
||||
"type": "action",
|
||||
"subtype": "arrow_left_click",
|
||||
"payload": "arrow_left_click",
|
||||
"topic": "zigbee2mqtt/0x90fd9ffffedf1266/action",
|
||||
"device": {
|
||||
"identifiers": [
|
||||
"zigbee2mqtt_0x90fd9ffffedf1266"
|
||||
],
|
||||
"name": "0x90fd9ffffedf1266",
|
||||
"sw_version": "Zigbee2MQTT 1.14.0",
|
||||
"model": "TRADFRI remote control (E1524/E1810)",
|
||||
"manufacturer": "IKEA"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- Trigger topic: `zigbee2mqtt/0x90fd9ffffedf1266/action`
|
||||
@ -114,8 +129,19 @@ Note that it is not necessary to provide the full device information in each mes
|
||||
- Discovery payload:
|
||||
|
||||
```json
|
||||
{"automation_type":"trigger","type":"action","subtype":"arrow_right_click","payload":"arrow_right_click","topic":"zigbee2mqtt/0x90fd9ffffedf1266/action","device":{"identifiers":["zigbee2mqtt_0x90fd9ffffedf1266"]}}
|
||||
```
|
||||
{
|
||||
"automation_type": "trigger",
|
||||
"type": "action",
|
||||
"subtype": "arrow_right_click",
|
||||
"payload": "arrow_right_click",
|
||||
"topic": "zigbee2mqtt/0x90fd9ffffedf1266/action",
|
||||
"device": {
|
||||
"identifiers": [
|
||||
"zigbee2mqtt_0x90fd9ffffedf1266"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- Trigger topic: `zigbee2mqtt/0x90fd9ffffedf1266/action`
|
||||
- Trigger payload: `arrow_right_click`
|
||||
|
Loading…
x
Reference in New Issue
Block a user