Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend documentation comparing your sensor with the HA built-in filter sensor #26

Open
lmagyar opened this issue Jan 22, 2021 · 0 comments
Labels
enhancement New feature or request.

Comments

@lmagyar
Copy link
Contributor

lmagyar commented Jan 22, 2021

Is your feature request related to a problem? Please describe.

Your sensors works as required, it shows the real, correct average of a sensor during a time period. The built in HA filter sensor changes it's output only, when it's input changes, ie. filter sensor is off by 1 precision nearly all the time. Your sensor is correct.

Describe the solution you'd like

Add a "Compare with filter sensor:" paragraph to the documentation mentioning this.

Describe alternatives you've considered

--

Additional context

Red line: original noisy sensor
Dark orange: filter sensor
Light orange: average sensor
(History card selected these fantastic colors...)

Filter_02

- platform: filter
  name: "Filter sensor"
  entity_id: sensor.xxx
  filters:
    - filter: time_simple_moving_average
      window_size: "00:01"
      precision: 1

- platform: average
  name: 'Average sensor'
  entities:
    - sensor.xxx
  duration:
    minutes: 1
  precision: 1
@lmagyar lmagyar added the enhancement New feature or request. label Jan 22, 2021
Limych pushed a commit that referenced this issue Mar 2, 2021
* link correction in README.md and info.md

* Add READMME.md for .devcontainer

* Add automation.yaml file in the configuration

* Complete CONTRIBUTING.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant