Add history_graph component to demo (#12681)
This commit is contained in:
parent
bf41674e06
commit
a8c9303892
2 changed files with 17 additions and 0 deletions
|
@ -10,6 +10,12 @@ from homeassistant.components import demo, device_tracker
|
|||
from homeassistant.remote import JSONEncoder
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_history(hass):
|
||||
"""Mock history component loaded."""
|
||||
hass.config.components.add('history')
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def minimize_demo_platforms(hass):
|
||||
"""Cleanup demo component for tests."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue