From 07901e8b0ac58f95c9c8666affcd3e4e3c059c09 Mon Sep 17 00:00:00 2001 From: Hristo Jelev Date: Tue, 16 Nov 2021 23:42:27 +0200 Subject: [PATCH] formatting --- src/config.py.example | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config.py.example b/src/config.py.example index cb06be0..2f9d758 100644 --- a/src/config.py.example +++ b/src/config.py.example @@ -12,13 +12,14 @@ mqtt_topic_prefix = "rpi-MQTT-monitor" # If this is set to True the script will send just one message containing all values group_messages = False -# If this is set, then the script will send MQTT discovery messages meaning a config less setup in HA. Only works for group_messages being False +# If this is set, then the script will send MQTT discovery messages meaning a config less setup in HA. Only works +# when group_messages is set to False discovery_messages = True # Random delay in seconds before measuring the values # - this is used for de-synchronizing message if you run this script on many hosts, set this to 0 for no delay. -# - if you want a fix delay you can remove the randarnge function and just set the needed delay. -random_delay = randrange(30) +# - if you want a fix delay you can remove the randrange function and just set the needed delay. +random_delay = randrange(3) # This is the time between sending the individual messages sleep_time = 0.5