Add basic backend support for a system log (#10492)

Everything logged with "warning" or "error" is stored and exposed via
the HTTP API, that can be used by the frontend.
This commit is contained in:
Pierre Ståhl authored and Paulus Schoutsen committed 2017-11-14 20:35:56 -08:00
1 parent 8d91de877a
commit 8111e3944c
5 files changed
+263 -3

No files matched your search

@@ -26,7 +26,7 @@ from homeassistant.loader import bind_hass
REQUIREMENTS = ['home-assistant-frontend==20171111.0']
DOMAIN = 'frontend'
DEPENDENCIES = ['api', 'websocket_api', 'http']
DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log']
URL_PANEL_COMPONENT_FP = '/frontend/panels/{}-{}.html'