mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 19:06:30 +00:00
Add new keys to /network/info (#723)
This commit is contained in:
parent
d1af30730a
commit
70ca7d9639
@ -1406,6 +1406,8 @@ Get network information.
|
||||
| ---------- | ---------------------------------------------------------------------- |
|
||||
| interfaces | A list of [Network interface models](api/supervisor/models.md#network-interface) |
|
||||
| docker | Information about the internal docker network |
|
||||
| host_internet | Boolean to indicate if the host can reach the internet. |
|
||||
| supervisor_internet | Boolean to indicate if the Supervisor can reach the internet. |
|
||||
|
||||
**Example response:**
|
||||
|
||||
@ -1434,7 +1436,9 @@ Get network information.
|
||||
"address": "172.30.32.0/23",
|
||||
"gateway": "172.30.32.1",
|
||||
"dns": "172.30.32.3"
|
||||
}
|
||||
},
|
||||
"host_internet": true,
|
||||
"supervisor_internet": true
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user