mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-23 09:16:32 +00:00
Update external_api_rest.md
This commit is contained in:
parent
d5df3fbb69
commit
f0d30ca399
@ -347,7 +347,7 @@ $ curl -X GET -H "Authorization: Bearer ABCDEFGH" \
|
||||
|
||||
#### POST /api/states/<entity_id>
|
||||
|
||||
Updates or creates the current state of an entity.
|
||||
Updates or creates a state. You can create any state that you want, it does not have to be backed by an entity in Home Assistant.
|
||||
|
||||
Expects a JSON object that has at least a state attribute:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user