Quantcast
Viewing all articles
Browse latest Browse all 104899

Update multiple entities in one API call?

@flemmingss wrote:

Ref rest api.

If I have two entities i want to update with the API, can I do this in just ONE api call, or do I have to make two calls?

example:
I want to set light.outside to on
and also set light.inside to off

Is it possible? If so how should the JSON be formated?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 104899

Trending Articles