mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Updated API doc
This commit is contained in:
parent
9979a3266e
commit
7c17987585
12
README.md
12
README.md
@ -242,10 +242,8 @@ Returns a dict with as keys the events and as value the number of listeners.
|
||||
|
||||
```json
|
||||
{
|
||||
"event_listeners": {
|
||||
"state_changed": 5,
|
||||
"time_changed": 2
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@ -254,7 +252,6 @@ Returns a dict with as keys the domain and as value a list of published services
|
||||
|
||||
```json
|
||||
{
|
||||
"services": {
|
||||
"browser": [
|
||||
"browse_url"
|
||||
],
|
||||
@ -262,7 +259,6 @@ Returns a dict with as keys the domain and as value a list of published services
|
||||
"volume_up",
|
||||
"volume_down"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@ -270,8 +266,8 @@ Returns a dict with as keys the domain and as value a list of published services
|
||||
Returns a dict with as keys the entity_ids and as value the state.
|
||||
|
||||
```json
|
||||
{
|
||||
"sun.sun": {
|
||||
[
|
||||
{
|
||||
"attributes": {
|
||||
"next_rising": "07:04:15 29-10-2013",
|
||||
"next_setting": "18:00:31 29-10-2013"
|
||||
@ -280,13 +276,13 @@ Returns a dict with as keys the entity_ids and as value the state.
|
||||
"last_changed": "23:24:33 28-10-2013",
|
||||
"state": "below_horizon"
|
||||
},
|
||||
"process.Dropbox": {
|
||||
{
|
||||
"attributes": {},
|
||||
"entity_id": "process.Dropbox",
|
||||
"last_changed": "23:24:33 28-10-2013",
|
||||
"state": "on"
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
**/api/states/<entity_id>** - GET<br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user