mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +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')
|
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 %}
|
### {% linkable_title Get details about services, events, and entitites %}
|
||||||
|
|
||||||
Similar to the output in the "Developer Tools" of the frontend.
|
Similar to the output in the "Developer Tools" of the frontend.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user