Skip to content

Commit 797b1a8

Browse files
authored
Add elevation (home-assistant#1830)
1 parent 4ebe77c commit 797b1a8

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

source/developers/rest_api.markdown

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,29 @@ Returns the current configuration as JSON.
7777
"components": [
7878
"recorder",
7979
"http",
80-
"sensor.time_date",
80+
"weather.openweathermap",
8181
"api",
82+
"websocket_api",
8283
"frontend",
84+
"sensor.time_date",
8385
"sun",
84-
"logbook",
85-
"history",
86+
"device_tracker",
8687
"group",
8788
"automation"
8889
],
89-
"latitude": 44.1234,
90+
"config_dir": "/home/ha/.homeassistant",
91+
"elevation": 590,
92+
"latitude": 45.92,
9093
"location_name": "Home",
91-
"longitude": 5.5678,
92-
"unit_system": "metric",
94+
"longitude": 6.52,
9395
"time_zone": "Europe/Zurich",
94-
"config_dir": "/home/hass/.homeassistant",
95-
"version": "0.8.0.dev0"
96+
"unit_system": {
97+
"length": "km",
98+
"mass": "g",
99+
"temperature": "\\u00b0C",
100+
"volume": "L"
101+
},
102+
"version": "0.37.0.dev0"
96103
}
97104
```
98105

0 commit comments

Comments
 (0)