<!-- IMPORTANT Issues that don't use this template will be ignored and closed. If you are not sure if your issue is a bug, please open a [github discussion](https://github.com/HASwitchPlate/openHASP/discussions) first or join the [#openHASP channel](https://discord.gg/VCWyuhF) on Discord. --> ### Perform all steps below and tick them with [x] - [X ] Check the related part of the [Documentation](https://www.openhasp.com/) - [ X] Update openHASP to the latest version - [X ] Reproduce the issue and describe all steps ### Describe the bug Using variables fails when text property contains more than just the variable ### To Reproduce ```json {"page":0,"obj":"label","id":110,"x":410,"y":3,"w":390,"h":40,"text":"%hostname%"} ``` returns "plate6" ```json {"page":0,"obj":"label","id":110,"x":410,"y":3,"w":390,"h":40,"text":"%hostname% (%ip%)"} ``` returns "%hostname% (%ip%)" ### Expected behavior I would expect that all variable names are replaced by the current values, so that "%hostname% (%ip%)" becomes "plate6 (192.168.X.X)"