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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user