Commit graph

8 commits

Author SHA1 Message Date
Malte Franken
638992f9c4
Make zone condition more robust by ignoring unavailable and unknown entities ()
* ignore entities with state unavailable or unknown

* test for unavailable entity
2022-05-31 11:34:52 -07:00
Erik Montnemery
037621b796
Update _TrackStateChangeFiltered entity listener with new entities () 2022-01-25 18:19:12 +01:00
Malte Franken
fcb8ab23ab
Improve log message when zone missing in geolocation trigger ()
* log warning message if zone cannot be found

* improve log message

* add test case
2021-06-06 20:03:56 +02:00
Erik Montnemery
b26779a27a
Add id to automation triggers () 2021-03-31 14:56:04 +02:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ()
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ()
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Franck Nijhof
8837ed35cd
Use direct service calls in tests instead of automation common ()
* Use direct service calls in tests instead of automation common

* Remove automation common test helpers
2020-09-26 19:28:26 +02:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code () 2020-08-17 11:54:56 -05:00
Renamed from tests/components/automation/test_geo_location.py (Browse further)