Set Philips Hue scene when lying down is detected
Other popular Active Sleep workflows and automations
-
-
Turn on Philips Hue lights when waking up is detected
-
Send an email when waking up is detected
-
Run SwitchBot scene when waking up is detected
-
Close your SwitchBot curtain when lying down is detected
-
Turn off TP-Link Kasa devices when you wake up
-
Post your sleep score to Slack
-
Start Home Connect Coffee when waking up is detected
-
Pause Spotify when Active Sleep detects you're asleep
Create your own Active Sleep and My Leviton workflow
Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.
28 triggers, queries, and actions
Activity ran
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Activity has run.
Button pressed
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a DW4BC or D2SCS button is pressed. The DW4BC supports buttons 1,2,3, or 4. The D2SCS supports buttons 1,2, or 3.
Device turned off
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Decora Smart Wi-Fi device turns off.
Device turned on
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Decora Smart Wi-Fi device turns on.
Falling asleep is detected
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires if falling asleep is detected.
Lying down is detected
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires if your lying down is detected.
Residence set to away
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Residence's status is set to away.
Residence set to home
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Residence's status is set to home.
Room turned off
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Room turns off.
Room turned on
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Room turns on.
Scene ran
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Scene has run.
Sleep score is determined
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires if your sleep score is determined.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of times when a Decora Smart Wi-Fi device turns off.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of instances when a My Leviton Room turns on.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a history of My Leviton Scene runs.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when a Decora Smart Wi-Fi device turned on.
Blink a light
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will make a light blink.
Brighten a Leviton Dimmer
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will brighten a Decora Smart Wi-Fi Dimmer.
Dim a Leviton Dimmer
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will dim a Decora Smart Wi-Fi Dimmer.
Run a Leviton Activity
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will run a My Leviton Activity.
Run a Leviton Scene
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will run a My Leviton Scene.
Set a Fan's Speed
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set a Leviton Fan Speed Controller's speed.
Set a Leviton Residence's Status
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set a Leviton Residence to Home or Away.
Set Brightness for a Leviton Dimmer
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will brighten or dim a Decora Smart Wi-Fi Dimmer to a specific value.
Toggle a Leviton Device
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will toggle a Decora Smart Wi-Fi device On/Off.
Turn off a Leviton Room
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn off all devices in a My Leviton Room.
Turn on a Leviton Room
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn on all devices in a My Leviton Room.
Activity ran
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a My Leviton Activity has run.
Blink a light
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will make a light blink.
Brighten a Leviton Dimmer
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will brighten a Decora Smart Wi-Fi Dimmer.
Button pressed
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a DW4BC or D2SCS button is pressed. The DW4BC supports buttons 1,2,3, or 4. The D2SCS supports buttons 1,2, or 3.
Device turned off
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Decora Smart Wi-Fi device turns off.
Device turned on
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Decora Smart Wi-Fi device turns on.
Dim a Leviton Dimmer
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will dim a Decora Smart Wi-Fi Dimmer.
Falling asleep is detected
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires if falling asleep is detected.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of times when a Decora Smart Wi-Fi device turns off.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of instances when a My Leviton Room turns on.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a history of My Leviton Scene runs.
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when a Decora Smart Wi-Fi device turned on.
Build an automation in seconds!
If
Activity ran
Then
Blink a light
You can add delays, queries, and more actions in the next step!
GET STARTED
How to connect to a Active Sleep automation
Find an automation using Active Sleep
Find an automation to connect to, or create your own!Connect IFTTT to your Active Sleep account
Securely connect the Applet services to your respective accounts.Finalize and customize your Applet
Review trigger and action settings, and click connect. Simple as that!Upgrade your automations with
-
Connect to more Applets
Connect up to 20 automations with Pro, and unlimited automations with Pro+ -
Add multiple actions with exclusive services
Add real-time data and multiple actions for smarter automations -
Get access to faster speeds
Get faster updates and more actions with higher rate limits and quicker checks
More on Active Sleep and My Leviton
About Active Sleep
2026年3月31日をもちまして、本連携はサービス終了いたします。
長年にわたりご利用いただき、ありがとうございました。
2026年3月31日をもちまして、本連携はサービス終了いたします。 長年にわたりご利用いただき、ありがとうございました。
About My Leviton
My Leviton and Decora Smart Wi-Fi simplify control of your home, allowing you to control your lights from anywhere.
My Leviton and Decora Smart Wi-Fi simplify control of your home, allowing you to control your lights from anywhere.