Skip to content

Commit

Permalink
Add information about model_id to MQTT documentation (#34117)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
bieniu authored Aug 4, 2024
1 parent f4f5244 commit df5c074
Show file tree
Hide file tree
Showing 29 changed files with 120 additions and 4 deletions.
6 changes: 5 additions & 1 deletion source/_integrations/alarm_control_panel.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ device:
description: "The model of the device."
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: "The name of the device."
required: false
Expand Down Expand Up @@ -344,4 +348,4 @@ mqtt:
{% caution %}
When your MQTT connection is not secured, this will send your secret code over the network unprotected!
{% endcaution %}


4 changes: 4 additions & 0 deletions source/_integrations/binary_sensor.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/button.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/camera.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
6 changes: 5 additions & 1 deletion source/_integrations/climate.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ device:
description: 'The model of the device.'
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: 'The name of the device.'
required: false
Expand Down Expand Up @@ -474,4 +478,4 @@ mqtt:
precision: 1.0
```

{% endraw %}
{% endraw %}
4 changes: 4 additions & 0 deletions source/_integrations/cover.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/device_tracker.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/device_trigger.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/event.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/fan.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/humidifier.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/image.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/lawn_mower.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/light.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ device:
description: 'The model of the device.'
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: 'The name of the device.'
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/lock.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ device:
description: 'The model of the device.'
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: 'The name of the device.'
required: false
Expand Down
8 changes: 6 additions & 2 deletions source/_integrations/mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ support_url:
'name': 'name',
'mf': 'manufacturer',
'mdl': 'model',
'mdl_id': 'model_id',
'hw': 'hw_version',
'sw': 'sw_version',
'sa': 'suggested_area',
Expand Down Expand Up @@ -820,7 +821,8 @@ Setting up a sensor with multiple measurement values requires multiple consecuti
],
"name":"Bedroom",
"manufacturer": "Example sensors Ltd.",
"model": "K9",
"model": "Example Sensor",
"model_id": "K9",
"serial_number": "12AE3010545",
"hw_version": "1.01a",
"sw_version": "2024.1.0",
Expand Down Expand Up @@ -955,6 +957,7 @@ Setting up a [light that takes JSON payloads](/integrations/light.mqtt/#json-sch
"name": "Kitchen",
"mf": "Bla electronics",
"mdl": "xya",
"mdl_id": "ABC123",
"sw": "1.0",
"sn": "ea334450945afc",
"hw": "1.0rev2",
Expand Down Expand Up @@ -1175,7 +1178,8 @@ data:
"device": {
"identifiers": "Acurite-986-1R-51778",
"name": "Bathroom",
"model": "Acurite-986",
"model": "Acurite",
"model_id": "986",
"manufacturer": "rtl_433" }
}
```
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/notify.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/number.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/scene.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/select.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/sensor.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/siren.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/switch.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/tag.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/text.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/update.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/vacuum.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/valve.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ device:
description: The model of the device.
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: The name of the device.
required: false
Expand Down
4 changes: 4 additions & 0 deletions source/_integrations/water_heater.mqtt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ device:
description: 'The model of the device.'
required: false
type: string
model_id:
description: The model identifier of the device.
required: false
type: string
name:
description: 'The name of the device.'
required: false
Expand Down

0 comments on commit df5c074

Please sign in to comment.