device adopt
This block is part of the globals group and was last modified in core v15.0.0.
device adopt v15.0.0 Takes a discovered device into service, so triggers fire for it and blocks can command it.
- flow
v15.0.0flow - device
v15.0.0valueDevice id, native address, or exact device name. Leave empty to use the device picked on the block.
- name
v15.0.0valueRename while adopting.
- room
v15.0.0valueAssign a room while adopting.
- flow
v15.0.0flow - ok
v15.0.0condition - newly adopted
v15.0.0conditionTrue only when this call is what adopted it.
- device
v15.0.0object - error
v15.0.0value
Adoption is the gate between 'the radio can hear this' and 'this is part of my system'. An unadopted device is tracked and visible but fires no triggers and refuses every command. Idempotent: adopting an already-adopted device succeeds and reports adopted=false for `newly`. Typically wired to a device discovered trigger, or called from an onboarding screen.
zigbee |
zwave |
matter |
thread |
hue |
smart home |
A typical wiring for device adopt: a function trigger starts the flow; the flow out pin feeds debug.
Used in these guides
These documentation pages use or explain this block:
Version history
Introduced in v15.0.0.
Back to
globals Return to the main group to view all sub-groups Back to home Return to the group to view all blocks within this group 