mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add get_config (#676)
This commit is contained in:
parent
6eb3df4e50
commit
089f5278eb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user