diff --git a/source/developers/python_api.markdown b/source/developers/python_api.markdown index 2df1fe16b75..1e0e5a1f600 100644 --- a/source/developers/python_api.markdown +++ b/source/developers/python_api.markdown @@ -33,6 +33,18 @@ hass.start() living_room = hass.states.get('group.living_room') ``` +### {% linkable_title Get configuration %} + +Get the current configuration of a Home Asssitant instance. + +```python +import homeassistant.remote as remote + +api = remote.API('127.1.0.1', 'password') + +print(remote.get_config(api)) +``` + ### {% linkable_title Get details about services, events, and entitites %} Similar to the output in the "Developer Tools" of the frontend.