Recent
Recommendations
Webhooks
Service
X (Twitter)
Service
YouTube
Service
Discord
Service
Google Sheets
Service
MyQ
Service
Gmail
Service
Instagram
Service
See all results
Explore
Plans
Log in
Get started
Mobile menu
Close menu
Back
My Leviton
Toggle a Leviton Device
This action will toggle a Decora Smart Wi-Fi device On/Off.
Developer info
API endpoint slug
my_leviton.toggle_switch
Filter method
MyLeviton.toggleSwitch.skip(string?: reason)
Runtime method
runAction("my_leviton.toggle_switch", {})
Action fields
Name
Dropdown list
Label
Which device?
Slug
name
Required
true
Can have default value
false
Power
Dropdown list
Label
Would you like to toggle the device, or turn it on or off?
Slug
power
Required
false
Can have default value
true
Filter method
MyLeviton.toggleSwitch.setPower(string: power)
Applets using this Action
Turn on My Leviton device when I enter an area
by
My Leviton
655
Turn on My Leviton light when Arlo detects motion
by
My Leviton
94
Turn on My Leviton light when your Ring doorbell rings
by
My Leviton
334