mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Add information about model_id
to MQTT documentation (#34117)
* Update mqtt.markdown * Update cover.mqtt.markdown * Update fan.mqtt.markdown * Update tag.mqtt.markdown * Update lock.mqtt.markdown * Update text.mqtt.markdown * Update event.mqtt.markdown * Update image.mqtt.markdown * Update light.mqtt.markdown * Update scene.mqtt.markdown * Update siren.mqtt.markdown * Update valve.mqtt.markdown * Update button.mqtt.markdown * Update camera.mqtt.markdown * Update notify.mqtt.markdown * Update number.mqtt.markdown * Update select.mqtt.markdown * Update sensor.mqtt.markdown * Update switch.mqtt.markdown * Update update.mqtt.markdown * Update vacuum.mqtt.markdown * Update climate.mqtt.markdown * Update humidifier.mqtt.markdown * Update lawn_mower.mqtt.markdown * Update water_heater.mqtt.markdown * Update binary_sensor.mqtt.markdown * Update device_tracker.mqtt.markdown * Update device_trigger.mqtt.markdown * Update alarm_control_panel.mqtt.markdown
This commit is contained in:
parent
f4f52441e9
commit
df5c074bd0
@ -135,6 +135,10 @@ device:
|
|||||||
description: "The model of the device."
|
description: "The model of the device."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: "The name of the device."
|
description: "The name of the device."
|
||||||
required: false
|
required: false
|
||||||
|
@ -96,6 +96,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -93,6 +93,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -95,6 +95,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -115,6 +115,10 @@ device:
|
|||||||
description: 'The model of the device.'
|
description: 'The model of the device.'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'The name of the device.'
|
description: 'The name of the device.'
|
||||||
required: false
|
required: false
|
||||||
|
@ -106,6 +106,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -95,6 +95,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -68,6 +68,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -87,6 +87,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -102,6 +102,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -120,6 +120,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -98,6 +98,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -96,6 +96,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -164,6 +164,10 @@ device:
|
|||||||
description: 'The model of the device.'
|
description: 'The model of the device.'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'The name of the device.'
|
description: 'The name of the device.'
|
||||||
required: false
|
required: false
|
||||||
|
@ -108,6 +108,10 @@ device:
|
|||||||
description: 'The model of the device.'
|
description: 'The model of the device.'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'The name of the device.'
|
description: 'The name of the device.'
|
||||||
required: false
|
required: false
|
||||||
|
@ -584,6 +584,7 @@ support_url:
|
|||||||
'name': 'name',
|
'name': 'name',
|
||||||
'mf': 'manufacturer',
|
'mf': 'manufacturer',
|
||||||
'mdl': 'model',
|
'mdl': 'model',
|
||||||
|
'mdl_id': 'model_id',
|
||||||
'hw': 'hw_version',
|
'hw': 'hw_version',
|
||||||
'sw': 'sw_version',
|
'sw': 'sw_version',
|
||||||
'sa': 'suggested_area',
|
'sa': 'suggested_area',
|
||||||
@ -820,7 +821,8 @@ Setting up a sensor with multiple measurement values requires multiple consecuti
|
|||||||
],
|
],
|
||||||
"name":"Bedroom",
|
"name":"Bedroom",
|
||||||
"manufacturer": "Example sensors Ltd.",
|
"manufacturer": "Example sensors Ltd.",
|
||||||
"model": "K9",
|
"model": "Example Sensor",
|
||||||
|
"model_id": "K9",
|
||||||
"serial_number": "12AE3010545",
|
"serial_number": "12AE3010545",
|
||||||
"hw_version": "1.01a",
|
"hw_version": "1.01a",
|
||||||
"sw_version": "2024.1.0",
|
"sw_version": "2024.1.0",
|
||||||
@ -955,6 +957,7 @@ Setting up a [light that takes JSON payloads](/integrations/light.mqtt/#json-sch
|
|||||||
"name": "Kitchen",
|
"name": "Kitchen",
|
||||||
"mf": "Bla electronics",
|
"mf": "Bla electronics",
|
||||||
"mdl": "xya",
|
"mdl": "xya",
|
||||||
|
"mdl_id": "ABC123",
|
||||||
"sw": "1.0",
|
"sw": "1.0",
|
||||||
"sn": "ea334450945afc",
|
"sn": "ea334450945afc",
|
||||||
"hw": "1.0rev2",
|
"hw": "1.0rev2",
|
||||||
@ -1175,7 +1178,8 @@ data:
|
|||||||
"device": {
|
"device": {
|
||||||
"identifiers": "Acurite-986-1R-51778",
|
"identifiers": "Acurite-986-1R-51778",
|
||||||
"name": "Bathroom",
|
"name": "Bathroom",
|
||||||
"model": "Acurite-986",
|
"model": "Acurite",
|
||||||
|
"model_id": "986",
|
||||||
"manufacturer": "rtl_433" }
|
"manufacturer": "rtl_433" }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -93,6 +93,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -87,6 +87,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -91,6 +91,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -99,6 +99,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -88,6 +88,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -110,6 +110,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -101,6 +101,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -53,6 +53,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -95,6 +95,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -92,6 +92,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -84,6 +84,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -130,6 +130,10 @@ device:
|
|||||||
description: The model of the device.
|
description: The model of the device.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: The name of the device.
|
description: The name of the device.
|
||||||
required: false
|
required: false
|
||||||
|
@ -96,6 +96,10 @@ device:
|
|||||||
description: 'The model of the device.'
|
description: 'The model of the device.'
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
model_id:
|
||||||
|
description: The model identifier of the device.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'The name of the device.'
|
description: 'The name of the device.'
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user