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
aqaraconnectionAn authenciated aqara connection
- Device ID required
valueThe device ID of the device you want to update.
- Attributes required
arrayThe 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
aqaraconnectionThe aqara connection.
- Success
conditionIf successful, this pin returns true.
- Error
valueError 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.

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
