mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Move timer into correct folder (#10324)
* Move timer into correct folder * Rename tests/components/test_timer.py to tests/components/timer/test_timer.py * create init for test component * Fix services.yaml loading
This commit is contained in:
parent
acfee385fb
commit
0f7a4b1d6f
@ -166,8 +166,8 @@ def async_setup(hass, config):
|
||||
yield from asyncio.wait(tasks, loop=hass.loop)
|
||||
|
||||
descriptions = yield from hass.async_add_job(
|
||||
load_yaml_config_file, os.path.join(
|
||||
os.path.dirname(__file__), os.path.join(DOMAIN, 'services.yaml'))
|
||||
load_yaml_config_file,
|
||||
os.path.join(os.path.dirname(__file__), 'services.yaml')
|
||||
)
|
||||
|
||||
hass.services.async_register(
|
1
tests/components/timer/__init__.py
Normal file
1
tests/components/timer/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
"""Test env for timer component."""
|
Loading…
x
Reference in New Issue
Block a user