Files
core/tests/components
paolog89 0e6a48c688 Add observed entities to bayesian sensor (#27721)
* Add observed entities to bayesian sensor

* Update binary_sensor.py to comply with style guidelines and test_binary_sensor.py to verify the entity_id

* Update binary_sensor.py and test_binary_sensor.py to include an additional attribute for observed entities

* Use of ATTR_ENTITY_ID and numeric key of observed entity

* Update binary_sensor.py

* Update test_binary_sensor.py to verify behavior

* Update to return a list without duplicates in the state attribute

* Update binary_sensor.py: rename of ATTR_ENTITY_ID into ATTR_OBSERVED_ENTITIES

* Rename new attribute into ATTR_OCCURRED_OBSERVATION_ENTITIES and fix test
2020-02-24 21:27:59 -08:00
..
…
…
…
…
2020-02-06 11:32:30 +01:00
…
2020-01-03 14:47:06 +01:00
2020-02-20 08:51:00 -08:00
2020-02-20 08:11:27 -08:00
2020-01-14 13:03:02 -08:00
2020-02-08 13:10:59 +01:00
…
…
2019-12-31 14:34:53 +01:00
2020-01-14 13:03:02 -08:00
2020-02-18 11:52:38 -08:00
2020-01-14 13:03:02 -08:00
…
…
…
2020-01-15 12:01:47 -08:00
2020-01-29 18:18:24 +01:00
…
2020-01-14 13:03:02 -08:00
2020-02-17 08:44:36 -08:00
2020-01-03 21:34:20 +01:00
…
…
2020-02-16 15:34:44 -08:00
…
…
…
…
…
…
2020-01-31 08:33:00 -08:00
…
…
2020-01-03 14:47:06 +01:00
2020-01-03 14:47:06 +01:00