You can create a wake up light in Home Assistant by using an automation that gradually increases the brightness and color temperature of your smart bulbs over a set period. This simulates a natural sunrise, which may help you wake up feeling calmer than you would with a sudden alarm sound.

Smart Bulbs Require Color Temperature Control

To achieve a realistic sunrise effect, you need bulbs that support both brightness and color temperature. A basic dimmable bulb can only go from dark to bright white, which can feel harsh. Bulbs with adjustable white tones allow you to start with a deep warm orange and transition to a bright cool white.

Check your device specifications to ensure the bulb supports "Color Temperature" or "RGBW" capabilities. If you have multiple bulbs in a room, group them into a single area or a helper group in Home Assistant. This allows you to apply the wake up transition to the entire room at once rather than configuring each bulb individually.

A common misconception is that any smart bulb can perform a smooth fade. Some lower-quality bulbs "step" their brightness, meaning they jump in visible increments. For a seamless experience, look for bulbs that support smooth transitions through their native integration. If a bulb flickers during a fade, it may be a limitation of the hardware or the wireless protocol used.

The Transition Duration Rule of Thumb

The length of your wake up sequence determines how gentle the experience feels. A rule of thumb is to set the transition period to 30 minutes. This provides enough time for the light to shift from a dim glow to full brightness without the change being jarring to your eyes.

If you find 30 minutes too long, you can shorten it to 15 minutes, but avoid going below 10 minutes. A transition that is too fast mimics a standard light switch and loses the benefit of the gradual sunrise. You can adjust this duration in the automation settings under the "transition" attribute of the light service call.

Building the Sunrise Automation

Creating a wake up light involves a trigger, a set of conditions, and a sequence of actions. Because you want the light to change over time, you will use the light.turn_on service with specific attributes. Labels in your menu may differ slightly depending on your version.

  1. Navigate to Settings > Automations & Scenes > Create Automation.
  2. Set the trigger to a specific time, such as 6:30 AM, or link it to a digital alarm clock entity if you have one integrated.
  3. Add a condition if you only want this to happen on weekdays. Go to Conditions > Time > and select the days of the week.
  4. In the Actions section, select Call Service and choose "Light: Turn on".
  5. Select your bedroom light or light group.
  6. Check the box for "Brightness" and set it to 100%.
  7. Check the box for "Color Temperature" and set it to a cool white value.
  8. Look for the "Transition" field and enter 1800 seconds for a 30-minute fade.

Setting the transition time in seconds tells Home Assistant to calculate the path from the current state to the target state. If the light is off, it will start at 0% and slowly climb to 100% over the 1800 seconds. This removes the need to create dozens of individual steps to increase brightness by 1% every few minutes.

Refining the Light Sequence

A single transition from off to bright white can sometimes feel too abrupt at the start. To make the sequence more natural, you can use a script or a sequence of actions that moves through different colors.

Start the automation by turning the light on at 1% brightness with a very warm orange hue. Then, add a wait step or a second service call that transitions the light to a soft yellow over 15 minutes. Finally, transition the light to a bright daylight white over the remaining 15 minutes. This mimics the actual progression of a morning sky.

If you use a smart plug with a traditional lamp instead of a smart bulb, you cannot use this method. Smart plugs only provide on/off power. To get a wake up effect with a standard lamp, you would need a dimmable bulb and a compatible dimmer switch that integrates with your system.

Integrating Sound and Environment

Light is most effective when paired with other gentle cues. You can add an action to your automation to slowly increase the volume of a media player. Start with a low volume of 10% and increase it to 30% over the final 5 minutes of the light transition.

Consider adding a "Condition" to your automation that checks if you are actually home. This prevents the lights from running every morning while you are away on vacation. You can do this by selecting Condition > State > Person > Home.

For those who find it difficult to wake up even with light, you can add a final action that triggers a physical alarm or a voice announcement once the light reaches 100%. This ensures that while the light prepares you for wakefulness, the sound provides the final prompt to get out of bed.

If you experience persistent difficulty waking up or chronic sleep issues, it is a good idea to talk to a doctor to rule out underlying health concerns.

What happens if the power goes out during the transition?

If the power cuts and returns, the bulb will typically return to its default "power-on" state, which is usually full brightness. This will break the gradual transition. You can check your bulb's settings in its native app to see if you can set a "last state" memory, which helps the bulb return to where it was before the power loss.

Can I use this with RGB strips instead of bulbs?

Yes, RGB strips work well for wake up lights, especially if they are placed behind a headboard or under a bed frame to create indirect lighting. Use the same transition logic. Indirect light is often less jarring than a direct bulb, making the 30-minute fade feel even smoother.

Why does my light jump to full brightness immediately?

This usually happens if the "Transition" attribute is missing or not supported by the bulb's integration. Ensure you are using the "Light: Turn on" service and that the transition value is entered in seconds. If the bulb still jumps, check if the bulb requires a specific hub to handle transitions locally rather than relying on the network.