pywws
pywws copied to clipboard
Update mqtt.py
Removed the double quotes on the values (except "idx" and "wind_dir_text") to prevent treating as strings
Won't this break existing setups? Other mqtt users appear to be happy with it as it is, and any user can customise the data sent by editing their weather.ini.
I took me some time to realize those double quotes prevented my setup to function properly (mosquitto mqtt broker, telegraf, influxdb and grafana). Changed that in weather.ini.