Hi there,
I’m using an add-on that provides raw sensor/data readings via MQTT and I was wondering if I could define my HA MQTT sensors in the configuration.yaml with a lowpass+Time SMA filter applied in one go. Basically the raw mqtt messages come in every 1s and I’d only want the lowpass/tsma-filtered values to be used/available/stored in HA. Is it possible to ‘combine’ the MQTT sensor AND Filter definition in one go in the configuration.yaml so that one value per 15 seconds is exposed & stored for / with the HA?
Alternatively, is there any way to define the MQTT sensor templates in the configuration.yaml so that they are not persisted… quasi the input mqtt ones for the filter(ed) sensors… and only keep/store the later, not the former?
Maybe I’m overthinking this, but basically I a) can’t throttle the input frequency but b) only want/need a lower frequency sensor to be available / stored in HA.
Is that somehow possible?
Thanks!