mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Add configuration directory to system health (#74318)
This commit is contained in:
parent
c24c6b38b1
commit
3bebbf7970
@ -2,15 +2,16 @@
|
||||
"system_health": {
|
||||
"info": {
|
||||
"arch": "CPU Architecture",
|
||||
"config_dir": "Configuration Directory",
|
||||
"dev": "Development",
|
||||
"docker": "Docker",
|
||||
"user": "User",
|
||||
"hassio": "Supervisor",
|
||||
"installation_type": "Installation Type",
|
||||
"os_name": "Operating System Family",
|
||||
"os_version": "Operating System Version",
|
||||
"python_version": "Python Version",
|
||||
"timezone": "Timezone",
|
||||
"user": "User",
|
||||
"version": "Version",
|
||||
"virtualenv": "Virtual Environment"
|
||||
}
|
||||
|
@ -29,4 +29,5 @@ async def system_health_info(hass):
|
||||
"os_version": info.get("os_version"),
|
||||
"arch": info.get("arch"),
|
||||
"timezone": info.get("timezone"),
|
||||
"config_dir": hass.config.config_dir,
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
"system_health": {
|
||||
"info": {
|
||||
"arch": "CPU Architecture",
|
||||
"config_dir": "Configuration Directory",
|
||||
"dev": "Development",
|
||||
"docker": "Docker",
|
||||
"hassio": "Supervisor",
|
||||
|
Loading…
x
Reference in New Issue
Block a user