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