1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add lovelace systeam health (#20592)

This commit is contained in:
Paulus Schoutsen
2019-01-30 12:57:56 -08:00
committed by GitHub
parent 2836ff86fe
commit e2cc1564a0
3 changed files with 120 additions and 3 deletions

View File

@@ -890,3 +890,8 @@ async def flush_store(store):
return
await store._async_handle_write_data()
async def get_system_health_info(hass, domain):
"""Get system health info."""
return await hass.data['system_health']['info'][domain](hass)