diff --git a/source/_integrations/modbus.markdown b/source/_integrations/modbus.markdown index 5f8681c0af4..f259ac0eb38 100644 --- a/source/_integrations/modbus.markdown +++ b/source/_integrations/modbus.markdown @@ -265,6 +265,10 @@ slave: required: false type: integer default: 0 +unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ### Configuring data_type and struct @@ -314,6 +318,10 @@ swap: required: false default: none type: string +unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ## Configuring platform binary sensor @@ -358,6 +366,10 @@ binary_sensors: required: false default: coil type: string + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ## Configuring platform climate @@ -435,6 +447,10 @@ climates: required: false type: string default: C + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ### Service `modbus.set-temperature` @@ -526,6 +542,10 @@ covers: description: Modbus register type (holding, input), default holding. required: false type: string + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ### Example: Modbus cover controlled by a coil @@ -713,6 +733,10 @@ fans: required: false default: same as command_off type: integer + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ## Configuring platform light @@ -802,6 +826,10 @@ lights: required: false default: same as command_off type: integer + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ## Configuring platform sensor @@ -882,6 +910,10 @@ sensors: description: The [state_class](https://developers.home-assistant.io/docs/core/entity/sensor#available-state-classes) of the sensor. required: false type: string + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %}
@@ -1001,6 +1033,10 @@ switches: required: false default: same as command_off type: integer + unique_id: + description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. + required: false + type: string {% endconfiguration %} ## Opening an issue