1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Log warning when entities referenced in service call not found (#31427)

* Raise entities not found error

* Make it a warning, not an error

* Add support for MATCH_ENTITY_NONE

* Fix lint

* Fix tests
This commit is contained in:
Paulus Schoutsen
2020-02-04 14:42:07 -08:00
committed by GitHub
parent 201ea2557e
commit f41623ca64
16 changed files with 339 additions and 89 deletions

View File

@@ -16,6 +16,7 @@ PLATFORM_FORMAT = "{platform}.{domain}"
MATCH_ALL = "*"
# Entity target all constant
ENTITY_MATCH_NONE = "none"
ENTITY_MATCH_ALL = "all"
# If no name is specified