Skip to content

Switch Widget

Overview

Switch Widget includes its own configuration fields in the widget configuration flow.

Configuration Fields

  • Alias
  • Devices
  • Selected Device Ids
  • Items
  • Title
  • Columns
  • Compact
  • Confirm Before Toggle
  • Retries
  • Retry Interval MS
  • Loading Devices
  • Device ID
  • Device Ids
  • Math

Defaults

  • Alias — null
  • Selected Device Ids — (config.deviceId ? [config.deviceId] : []
  • Title — ""
  • Columns — 1

Source

  • File — SwitchWidgetConfig.tsx

Documentation for the Autoconnecto IoT platform