add qos
This commit is contained in:
parent
2290d32ccd
commit
8cbb66a8bc
1 changed files with 2 additions and 0 deletions
|
@ -21,9 +21,11 @@ sensor:
|
|||
platform: mqtt
|
||||
name: "MQTT Sensor"
|
||||
state_topic: "home/bedroom/temperature"
|
||||
qos: 0
|
||||
unit_of_measurement: "°C"
|
||||
```
|
||||
|
||||
- **name**: The name of the sensor. Default is 'MQTT Sensor'. *Optional*
|
||||
- **state_topic**: The MQTT topic subscribed to receive sensor values. *Required*
|
||||
- **qos**: The maximum QoS level of the state topic. Default is 0. *Optional*
|
||||
- **unit_of_measurement**: Defines the units of measurement of the sensor, if any. *Optional*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue