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
pull/9980/merge
Pascal Vizeli 2017-11-04 05:10:08 +01:00 committed by Paulus Schoutsen
parent acfee385fb
commit 0f7a4b1d6f
3 changed files with 3 additions and 2 deletions

View File

@ -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(

View File

@ -0,0 +1 @@
"""Test env for timer component."""