I use 4 filter devices (based on pimatic-filter-plugin) for temperatures.

Today I updated all of pimatic and so even the filter-plugin to 0.9.0 and now I get errors for 2 of 4 filter devices.

17:23:17.084 [pimatic] info: New device "Filter_tf07MS"...
17:23:17.203 [pimatic] info: New device "Filter_tf09MS"...
17:23:17.246 [pimatic] error: Error loading device "filter_tf02ESP": Could not parse expression
17:23:17.325 [pimatic] error: Error loading device "filter_Wohnung": Could not parse expression

The part for the 4 filters in config.json is

    {
      "class": "SimpleMovingAverageFilter",
      "id": "filter_tf07MS",
      "name": "Filter_tf07MS",
      "size": 5,
      "output": {
        "name": "temperature",
        "label": "Temperature",
        "expression": "$tf07MS.temperature",
        "acronym": "T",
        "unit": "°C"
      },
      "stats": []
    },
    {
      "class": "SimpleMovingAverageFilter",
      "id": "filter_tf09MS",
      "name": "Filter_tf09MS",
      "size": 5,
      "output": {
        "name": "temperature",
        "label": "Temperature",
        "expression": "$tf09MS.temperature",
        "acronym": "T",
        "unit": "°C"
      },
      "stats": []
    },
    {
      "class": "SimpleMovingAverageFilter",
      "id": "filter_tf02ESP",
      "name": "Filter_tf02ESP",
      "size": 5,
      "output": {
        "name": "temperature",
        "label": "Temperature",
        "expression": "$tf02ESP-temperature",
        "acronym": "T",
        "unit": "°C"
      },
      "stats": [],
      "xAttributeOptions": []
    },
    {
      "class": "SimpleMovingAverageFilter",
      "id": "filter_Wohnung",
      "name": "Filter_Wohnung",
      "size": 5,
      "output": {
        "name": "temperature",
        "label": "Temperature",
        "expression": "$temperaturWohnung",
        "acronym": "T",
        "unit": "°C"
      },
      "stats": [],
      "xAttributeOptions": []
    },

There is a difference between the 2 accepted filter definitions and the 2 definitions which produce errors.
The “expression” - lines in the 2 accepted filters use device variables of mysensor devices.
The “expression” - lines in the two not accepted definitions use simple pimatic variables defined here:

  "variables": [
    {
      "name": "temperaturWohnung",
      "value": 22.1663595577364
    },
...
     {
      "name": "tf02ESP-temperature",
      "value": 23
    },
  ]

The values for these pimatic variables are set via pimatic web API.

Another interesting fact is, that I can recreate these filter devices with help of the pimatic web front-end. Everything works but with a pimatic restart the errors come back.

Thank you in advance for help