logger.debug("Eval key={}, variable={}", key, variable);
String tmp = replaceVariables(vals, variable);
try {
double result = new DoubleEvaluator().evaluate(tmp);
logger.debug("Eval '{}={}={}'", variable, tmp, result);
state = new DecimalType(result);
found = true;
} catch (Exception e) {