update multiple device attributes

This block is part of the Home Automaton group and was last modified in core v13.0.8.

update multiple device attributes v13.0.8

With this block you can update multiple attributes of an device.

In pins 3 + flow
  • flow
    flow
  • Connection required
    aqaraconnection

    An authenciated aqara connection

  • Device ID required
    value

    The device ID of the device you want to update.

  • Attributes required
    array

    The array with the attributes you want to update and their new value. Each object in the array should have the keys "resource_id" and "value".

Out pins 3 + flow
  • flow
    flow
  • Connection
    aqaraconnection

    The aqara connection.

  • Success
    condition

    If successful, this pin returns true.

  • Error
    value

    Error message if the attributes could not be updated.

A typical wiring for update multiple device attributes: a function trigger starts the flow; open connection feeds the connection pin; the flow out pin feeds debug.

Studio canvas example for the update multiple device attributes block: typical wiring for update multiple device attributes.

Version history

Introduced in v13.0.8.


Back to Home Automaton Return to the main group to view all sub-groups Back to Aqara Return to the group to view all blocks within this group