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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)