Files
home-assistant-core/homeassistant/components/sensor
Diogo Gomes de3c76983a Filter Sensor (#12650)
* filter sensor platform implementation

* added tests

* default arguments

* Fix for unavailable units during initial startup

* unused variable

* Addresses code review by @MartinHjelmare

* fix

* don't need hass in this test

* Various Improvements

* Added Throttle Filter

* hound fixes

* test throttle filter

* fix

* Address comments by @balloob

* added test, reformulated filter tests

* Precision handling

* address comments from @balloob

* Revert "Precision handling"

This reverts commit f4abdd37021380d090b93a5c6b6f9e39cd59bc46.

* removed stats

* only round floats

* Registry decorator usage

* Tries to address remaining comments
2018-03-01 15:03:01 -08:00
..
2018-01-20 22:35:38 -08:00
2018-01-20 22:35:38 -08:00
2018-02-26 22:39:26 -08:00
…
…
…
2018-01-30 10:39:39 +01:00
2018-02-11 20:33:08 -08:00
…
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2018-01-30 10:39:39 +01:00
2018-02-27 14:22:52 +01:00
2018-01-28 18:04:40 +01:00
2018-01-29 00:24:08 -08:00
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2017-10-25 15:13:11 +02:00
…
…
…
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
…
2018-01-20 22:35:38 -08:00
2018-01-29 23:37:19 +01:00
2018-01-30 10:39:39 +01:00
2017-12-13 20:03:41 -08:00
2018-01-27 11:58:27 -08:00
2017-12-03 16:48:07 +01:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-02-27 18:04:30 -08:00
2018-01-29 23:37:19 +01:00
…
2018-02-19 23:55:54 -08:00
2018-03-01 15:03:01 -08:00
2018-01-18 21:48:21 +01:00
2018-02-21 23:21:07 -08:00
2018-01-29 00:23:53 -08:00
2018-01-27 11:58:27 -08:00
2017-10-23 13:12:14 +02:00
2018-02-17 10:29:14 +01:00
…
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-27 11:58:27 -08:00
2018-02-17 10:29:14 +01:00
…
2018-02-11 09:20:28 -08:00
2018-01-20 22:35:38 -08:00
2018-02-04 18:23:26 +01:00
2018-01-30 10:39:39 +01:00
2018-01-25 19:46:48 +01:00
2018-02-11 09:20:28 -08:00
2018-01-20 22:35:38 -08:00
…
2018-02-11 09:20:28 -08:00
2018-01-15 14:25:00 -08:00
2018-01-20 22:35:38 -08:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
…
…
2018-02-17 10:29:14 +01:00
2017-11-15 18:17:17 -05:00
2018-01-29 23:37:19 +01:00
…
2018-01-20 22:35:38 -08:00
2018-01-08 17:07:39 +01:00
…
2017-10-07 00:22:40 +02:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-03 19:28:43 +01:00
2018-01-29 23:37:19 +01:00
2017-09-29 12:05:02 +02:00
2018-02-17 10:29:14 +01:00
2017-12-25 10:07:17 +01:00
2018-01-27 11:58:27 -08:00
2018-01-16 12:32:08 +01:00
2018-02-17 10:29:14 +01:00
2017-12-13 21:21:14 +01:00
2018-02-17 10:29:14 +01:00
2017-11-27 21:25:00 +01:00
2017-12-11 16:44:14 +01:00
2018-02-26 00:01:01 -08:00
2018-02-11 09:20:28 -08:00
2017-10-08 20:14:39 +02:00
2018-02-18 14:34:28 -08:00
2018-01-06 19:54:15 +01:00
2018-02-21 23:47:15 -08:00
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-27 11:58:27 -08:00
2018-01-31 10:10:35 -08:00
…
2018-01-29 23:37:19 +01:00
…
2017-11-19 19:41:30 -08:00
2017-10-24 18:36:08 +02:00
2017-11-22 09:37:20 +00:00
2017-12-25 17:46:42 +01:00
2018-01-29 23:37:19 +01:00
…
2017-09-17 13:40:58 +02:00
2018-01-29 23:37:19 +01:00
…
2017-09-27 10:44:32 -07:00
2017-10-23 14:38:16 -04:00
2018-01-20 22:35:38 -08:00
2017-12-07 07:47:19 +01:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-01-27 11:58:27 -08:00
2018-01-20 22:35:38 -08:00
2018-01-20 22:35:38 -08:00
…
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-02-11 09:20:28 -08:00
…