Add lovelace systeam health (#20592)
This commit is contained in:
parent
2836ff86fe
commit
e2cc1564a0
3 changed files with 120 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue