mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Update platform loading path (#20807)
* Warn when platform loaded from an entity component folder * Fix tests
This commit is contained in:
@@ -7,8 +7,8 @@ __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
|
||||
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
|
||||
REQUIRED_PYTHON_VER = (3, 5, 3)
|
||||
|
||||
# Format for platforms
|
||||
PLATFORM_FORMAT = '{domain}.{platform}'
|
||||
# Format for platform files
|
||||
PLATFORM_FORMAT = '{platform}.{domain}'
|
||||
|
||||
# Can be used to specify a catch all when registering state or event listeners.
|
||||
MATCH_ALL = '*'
|
||||
|
||||
Reference in New Issue
Block a user