Added option to disable discovery messages after the first execution
This commit is contained in:
@@ -111,7 +111,7 @@ Once you installed the script on your raspberry you need to create some sensors
|
|||||||
If you are using ```discovery_messages```, then this step is not required as a new MQTT device will be automatically created in Home Assistant and all you need to do is add it to a dashboard.
|
If you are using ```discovery_messages```, then this step is not required as a new MQTT device will be automatically created in Home Assistant and all you need to do is add it to a dashboard.
|
||||||
|
|
||||||
This is the sensors configuration if ```group_messages = True``` assuming your sensors are separated in ```sensors.yaml``` file.
|
This is the sensors configuration if ```group_messages = True``` assuming your sensors are separated in ```sensors.yaml``` file.
|
||||||
```{r, attr.source='.numberLines'}
|
```yaml
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: 'rpi4 cpu load'
|
name: 'rpi4 cpu load'
|
||||||
state_topic: 'masoko/rpi4'
|
state_topic: 'masoko/rpi4'
|
||||||
|
|||||||
Reference in New Issue
Block a user