I have a purple air sensor which gets its data via REST, and then has those attributes split into individual sensors via templates, for example:
unique_id: purpleair_temperature
state: "{{ state_attr('sensor.purpleair', 'current_temp_f') }}"
availability: "{{ is_number( state_attr('sensor.purpleair', 'current_temp_f') ) }}"
unit_of_measurement: "°F"
device_class: temperature
icon: mdi:thermometer```
I want to smooth the data (which apparently arrives only in integer degrees) using the filter integration. However, the following appears to have no effect, as the signal still looks like steps between integer values of degrees. This is the filter config:
```sensor:
- platform: filter
name: "PurpleAir Temperature"
entity_id: sensor.purpleair_temperature
filters:
- filter: lowpass
window_size: 20```
I've also tried with time_constant: 300s, and that also seemed to have no effect. What am I doing wrong?