get device attributes

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

get device attributes v13.0.8

With this block you can request all the attributes for an device.

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

    An authenciated aqara connection

  • Device ID required
    value

    The device ID of the device you want to change the name for.

Out pins 4 + flow
  • flow
    flow
  • Connection
    aqaraconnection

    The aqara connection.

  • Success
    condition

    If successful, this pin returns true.

  • Attributes
    array

    The attributes of the device.

  • Error
    value

    Error message if the attributes could not be requested.

A typical wiring for get 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 get device attributes block: typical wiring for get 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