domoticz_mqtt_discovery icon indicating copy to clipboard operation
domoticz_mqtt_discovery copied to clipboard

fix for #55 template_value with spaces in them

Open rrozema opened this issue 2 years ago • 1 comments

fix the matching regular expression for value_template to accept surrounding spaces.

rrozema avatar Feb 21 '23 12:02 rrozema

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.

rrozema avatar Feb 21 '23 15:02 rrozema