About this action
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
- This action will turn your iHome plug on or off.
- API endpoint slug
- ihomecontrol.targetpowerstate
- Filter code method
- Ihomecontrol.targetpowerstate.skip(string?: reason)
- Runtime method
- runAction("ihomecontrol.targetpowerstate", {})
Action fields
Device Dropdown list
- Label
- Which device do you want to use?
- Slug
- device
- Required
- true
- Can have default value
- false
On or off Dropdown list
- Label
- Do you want to turn the plug on or off?
- Slug
- on_or_off
- Required
- true
- Can have default value
- false