remove single discovery message

This commit is contained in:
hjelev
2023-02-09 21:07:02 +02:00
parent db5f7af831
commit 381401c212

View File

@@ -75,7 +75,6 @@ This is the default configuration:
``` ```
random_delay = randrange(1) random_delay = randrange(1)
single_discovery_message = True
discovery_messages = True discovery_messages = True
group_messages = False group_messages = False
sleep_time = 0.5 sleep_time = 0.5
@@ -93,8 +92,6 @@ wifi_signal_dbm = False
If ```discovery_messages``` is set to true, the script will send MQTT Discovery config messages which allows Home Assistant to automatically add the sensors without having to define them in configuration. Note, this setting is only available when ```group_messages``` is not used. If ```discovery_messages``` is set to true, the script will send MQTT Discovery config messages which allows Home Assistant to automatically add the sensors without having to define them in configuration. Note, this setting is only available when ```group_messages``` is not used.
If ```single_discovery_message``` is set to true, discovery_messages will be automatically set to False after the first execution of the script. These messages are not needed once the sensors/device is created in Home Assistant.
If ```group_messages``` is set to true the script will send just one message containing all values in CSV format. If ```group_messages``` is set to true the script will send just one message containing all values in CSV format.
The group message looks like this: The group message looks like this: