Files
esphome-lsm6ds/esphome
Sybren A. Stüvel 48658d5a55 Add a simple 'skip_initial' filter (#4582)
* Add a simple 'skip' filter

This filter simply skips the first `send_first_at` values, then passes
everything as-is. This is quite useful when you know the first few sensor
readings should be ignored.

Example YAML:

```yaml
sensor:
  - platform: sgp30
    id: mysensor_sgp30
    eco2:
      id: mysensor_sgp30_co2
      name: "eCO₂"
      accuracy_decimals: 0
      filters:
        - skip:
            send_first_at: 41
```

* Rename the filter to `skip_initial` and simplify the schema

New usage:

```yaml
      filters:
        - skip_initial: 41
```

* Apply clang-format
2023-03-19 19:08:51 +00:00
..
2023-03-19 18:55:12 +00:00
2023-02-07 14:08:40 +13:00
2023-03-09 09:09:39 +13:00
2022-10-05 20:09:27 +13:00
2023-03-04 07:19:51 +00:00
2022-10-05 20:09:27 +13:00
2023-01-17 10:28:09 +13:00
2023-02-09 10:25:44 +13:00