@currest2620 wrote:
Hi (again),
I got two filters working and thought I’d filter other sensors as well. The problem is only the first two are loading and visible in developer tools / states and the front end. I can’t see any obvious problems. I did see a similar issue in a thread a few years ago, but that was a bug that had since been resolved.
This is what I have in sensor.yaml:
- platform: filter name: "Filtered Kitchen Temperature" entity_id: sensor.kitchen_temperature filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Kitchen Humidity" entity_id: sensor.kitchen_relative_humidity filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Kitchen Luminance" entity_id: sensor.kitchen_luminance filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Bedroom Temperature" entity_id: sensor.bedroom_temperature filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Bedroom Humidity" entity_id: sensor.bedroom_relative_humidity filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Bedroom Luminance" entity_id: sensor.bedroom_luminance filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Garage Temperature" entity_id: sensor.garage_temperature filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Garage Humidity" entity_id: sensor.garage_relative_humidity filters: - filter: outlier window_size: 4 radius: 4.0 - platform: filter name: "Filtered Garage Luminance" entity_id: sensor.garage_Luminance filters: - filter: outlier window_size: 4 radius: 4.0
For some reason only “Filtered Bedroom Humidity” and “Filtered Kitchen Temperature” get loaded. I’ve looked through the log but can’t see an error. The only entries that seem relevant are:
.. 2020-01-22 15:32:52 INFO (SyncWorker_11) [homeassistant.loader] Loaded filter from homeassistant.components.filter .. 2020-01-22 15:32:53 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.filter 2020-01-22 15:32:53 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.filter ..
Any ideas? Thanks.
Posts: 1
Participants: 1