Steps to reproduce:
- Create a calculated item with a function as pattern and without ", like:
With Test there will be successfully a retrieval of values possible.
During Add/Update the UI prints the following error:
Invalid parameter "/1/params": incorrect expression starting from "count(//item1,#4,"gt",avg(//item2,15m))".
Create/Update of items is only possible when the function (pattern) is in quotation marks:
But this will end up in the error in the UI:
Cannot evaluate function: "avg(//item2,15m)" is not a valid numeric float value at "count(//item1,#4,"gt","avg(//item2,15m)")".
The ui follows the technical implementation and allows a pattern to be a function without quotation marks.