domoticz_mqtt_discovery
domoticz_mqtt_discovery copied to clipboard
fix for #55 template_value with spaces in them
fix the matching regular expression for value_template to accept surrounding spaces.
Using .+? for matching the json property name should have the effect of only stripping whitespace after the name. All other characters - including spaces- are now allowed inside the property name.