New services
Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Power changes

You can choose Plug Mini's behaviour as a trigger condition

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
You can choose Plug Mini's behaviour as a trigger condition
API endpoint slug
switchbot.plug_trigger

Trigger fields

Choose a device Dropdown list

Label
Select a device
Slug
choose_a_device
Required
true
Can have default value
false

Plug condition Dropdown list

Label
Plug condition
Slug
plug_condition
Required
true
Can have default value
true

Power value Text input > Other

Label
Power value
Helper text
power rangeļ¼š1 - 1400
Slug
power_value
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
Switchbot.plugTrigger.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

ContentContent

Slug
Content
Filter code
Switchbot.plugTrigger.Content
Type
String
Example
plugTest on