RFC: Deprecate auto target all for services and introduce entity_id: * (#19006)

* Deprecate auto target all

* Match on word 'all'
This commit is contained in:
Paulus Schoutsen
2018-12-13 10:07:59 +01:00
committed by GitHub
parent 56c7e78cf2
commit 8ea0a8d40b
24 changed files with 143 additions and 41 deletions

View File

@@ -13,6 +13,9 @@ PLATFORM_FORMAT = '{}.{}'
# Can be used to specify a catch all when registering state or event listeners.
MATCH_ALL = '*'
# Entity target all constant
ENTITY_MATCH_ALL = 'all'
# If no name is specified
DEVICE_DEFAULT_NAME = 'Unnamed Device'