gate opened

This block is part of the globals group and was last modified in core v15.0.0.

gate opened v15.0.0

Starts the flow when the gate physically opens.

In pins 2
  • device value v15.0.0

    Only fire for this device. Leave empty to fire for every matching device.

  • room value v15.0.0

    Only fire for devices in this room. Leave empty for every room.

Out pins 9 + flow
  • flow v15.0.0
  • device object v15.0.0

    The full device: id, name, room, type, capabilities, current state.

  • device id value v15.0.0

    Stable platform id, e.g. zigbee:0x00158d0007e1a2b3.

  • name value v15.0.0

    The device's friendly name.

  • room value v15.0.0

    The room the device is assigned to, empty if none.

  • type value v15.0.0

    sensor, light, switch, climate, cover, lock or button.

  • capability value v15.0.0

    Which capability changed, e.g. occupancy, contact, power.

  • value value v15.0.0

    The new value.

  • previous value v15.0.0

    The value before this change, empty on the first report.

  • at number v15.0.0

    Unix seconds the device reported.

Start-of-flow trigger on door_position becoming true for a gate. Identical in mechanism to door_opened : a gate is a door to the controller : and separate so gate automations read as gate automations. Select the gate in the device pin; with no device selected it fires for any door-type device, which is probably not what a block called 'gate opened' should do.

zigbee
zwave
matter
thread
smart home
home assistant
trigger

gate opened fires when the movement completes rather than when the command was sent, which is the distinction that matters for anything chained behind it. It is the trigger to hang a close-again timer on, and the one that tells a camera flow that a vehicle is about to arrive.

Studio canvas example for the gate opened block: the gate finished opening.

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