-
-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Perform all steps below and tick them with [x]
- [X ] Check the related part of the Documentation
- [ 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
{"page":0,"obj":"label","id":110,"x":410,"y":3,"w":390,"h":40,"text":"%hostname%"}returns "plate6"
{"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)"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request