trvrnrth / esphome-bsec-bme680

ESPHome component for the Bosch BME680 sensor via BSEC providing temperature, humidity, pressure and indoor air quality measurements.
85 stars 17 forks source link

PollingComponent possible? #12

Closed F3ELING1337 closed 3 years ago

F3ELING1337 commented 3 years ago

May I ask why this component doesn't inherit from PollingComponent? Sadly now it doesn't support the configuration variables "id" on platform layer and "update_interval" which is supported by nearly every sensor.

Would it be possible to add this? Thanks in advance!

trvrnrth commented 3 years ago

I'm going to close this as a duplicate of #7 where this has been discussed. Happy to answer any further questions on that issue. I should perhaps add this to the readme as it keeps being asked.

The short answer though is that if you just want to limit the numeric sensor updates you can apply a filter. I use a median filter in my setup for example.