- Preview
- A simulated garage door with an animated sectional door and confirmation in the action button.
- Inputs
- Pass a snapshot with state (open, closed, opening, closing or blocked) and optional nonnegative openMinutes. Pass null for an unavailable controller. The legacy initiallyOpen and openMinutes props configure the local example.
- Source options
- Supply confirmed state from the door controller. Pass onDoorChange only for a controller the user has permission to operate.
- Actions
- Select Open door or Close door, then confirm with the same button. Use Cancel or Escape to dismiss the confirmation. The next controller snapshot reports motion and the final state. A duplicate command stays disabled while awaiting a change. Only open and closed offer commands. The illustration represents the reported phase. Blocked and unavailable states leave the door position unspecified.