Sensor filter entity not available since last Hassio update

Hello all,

Since the last Hassio update my filter sensors aren’t working anymore.
In the Lovelace UI the text “enitity not available: sensor.filtered_power_consumption” appears.

The error logging shows this:

Error doing job: Task exception was never retrieved

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 400, in _async_add_entity
    await entity.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/filter/sensor.py", line 244, in async_added_to_hass
    history_list.extend([state for state in filter_history[self._entity]])
KeyError: 'sensor.power_consumption

I can’t find any related issues and in the Hassio changelog there’s nothing mentioned about de sensor filter.

Anyone knows what might be causing this error?

Check the developer tools states menu to see if the entity I’d has changed.

No nothing has changed, the source (sensor.power_consumtion) is still availlable and showing values.
Note:
The source signal comes from a smart meter:

  - platform: dsmr
    port: /dev/ttyUSB0
    dsmr_version: 5

I’m using filters because this data is refreshed every 5 seconds, so I disabled the graph on the sensor value. And I use the filtered data for a graph.

Do the filter sensors you created have the same entity id?

No they don’t. The filtered value has a prefix of “filtered_”.
Somehow thing got working again yesterday.
I’ve been looking thru all the files. And did some cleaning up in de configuration.yaml file.
After restarting home-assistant the logging wasn’t showing any errors and the filtered values re-appeared.

One off the things I’ve done, was deleting:

discovery:
  ignore:
    - igd

I don’t know if its related, but now things are working again.

me too,my filter sensors aren’t working anymore.0.97

Same here. Also lost all my filter sensors.
I’ve triple checked my yaml, no issues there.

Running on Hassio on RPI version 0.97.2

Any help would be much appreciated.

update: update to 0.98 has solved it for me.