Files
core/homeassistant/components/binary_sensor
Jeff McGehee 29b62f814f Allow multiple observations of same entity (#9391)
* Allow multiple observations of same entity

Why:

* There may be different probabilities for multiple states of the same
entity.

This change addresses the need by:

* Keeping a list of observations for each entity to check on each state
change of the given entity.
* Adding a numeric id to each observation so that they can be
effectively added and removed from `self.current_obs`.
* Adding a test to confirm functionality.

* fix overzealous indenting
2017-09-12 18:52:09 +02:00
..
2017-04-29 22:04:49 -07:00
2017-02-17 09:13:52 +01:00
2017-05-12 08:51:54 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-05-02 22:47:20 +02:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-05-02 09:18:47 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-08-30 23:13:02 -05:00
2017-07-26 14:03:29 +02:00
2017-06-30 08:53:14 +02:00
2017-04-29 22:04:49 -07:00
2017-08-21 13:24:30 +02:00
2017-04-29 22:04:49 -07:00