Add serial_number config attribute to MQTT device mapping (#30855)

* Add serial_number config attribute to MQTT device mapping

* Fix type
This commit is contained in:
Jan Bouwhuis 2024-01-16 14:03:00 +01:00 committed by GitHub
parent eec52ecc25
commit b721084c4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 114 additions and 0 deletions

View File

@ -135,6 +135,10 @@ device:
description: "The name of the device."
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -100,6 +100,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -97,6 +97,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -99,6 +99,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -118,6 +118,10 @@ device:
description: 'The name of the device.'
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -110,6 +110,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -72,6 +72,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -91,6 +91,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -105,6 +105,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -124,6 +124,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -102,6 +102,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -100,6 +100,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -168,6 +168,10 @@ device:
description: 'The name of the device.'
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false
@ -607,6 +611,10 @@ device:
description: 'The name of the device.'
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
sw_version:
description: 'The firmware version of the device.'
required: false
@ -976,6 +984,10 @@ device:
description: 'The name of the device.'
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
sw_version:
description: 'The firmware version of the device.'
required: false

View File

@ -112,6 +112,10 @@ device:
description: 'The name of the device.'
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -557,6 +557,7 @@ support_url:
'hw': 'hw_version',
'sw': 'sw_version',
'sa': 'suggested_area',
'sn': 'serial_number',
```
{% enddetails %}
{% details "Supported abbreviations for origin info" %}
@ -900,6 +901,7 @@ Setting up a [light that takes JSON payloads](/integrations/light.mqtt/#json-sch
"mf": "Bla electronics",
"mdl": "xya",
"sw": "1.0",
"sn": "ea334450945afc",
"hw": "1.0rev2",
},
"o": {

View File

@ -91,6 +91,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -95,6 +95,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -103,6 +103,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -92,6 +92,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -114,6 +114,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -101,6 +101,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -57,6 +57,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -99,6 +99,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -96,6 +96,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -88,6 +88,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false

View File

@ -134,6 +134,10 @@ device:
description: The name of the device.
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: Suggest an area if the device isnt in one yet.
required: false

View File

@ -100,6 +100,10 @@ device:
description: 'The name of the device.'
required: false
type: string
serial_number:
description: "The serial number of the device."
required: false
type: string
suggested_area:
description: 'Suggest an area if the device isnt in one yet.'
required: false