Alert Light - Change a light color and brightness based on alert severity level

Alert Light - Change a light color and brightness based on alert severity level

About

I created this automation to provide a visual indicator on the Home Assistant Voice Preview Edition light ring (or any color light) for active alerts using my Alert blueprint (referenced below). The automation uses three counters—one for each severity level (high, medium, and low)—to track the current alert status. When an alert becomes active, it increments the corresponding severity counter; when the alert is dismissed or becomes inactive, the counter is decremented. The light color reflects the highest active alert level: red for high-severity alerts, orange for medium-severity alerts (when no high alerts are active), and so on. Enjoy and feedback is always welcome!

Version 1.1

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Requirements

  • Home Assistant Minimum Version: 2024.6.0
  • Three counters: With the restore option set to false (See Setup below)
  • Recommend: Use with my Alert blueprint (referenced below)

What’s New

  • After Hours Brightness: Set a different alert brightness for a specified time of day

Features

  • Multi-Light Support: Control one or more color lights simultaneously
  • Customizable Colors: Set custom colors for each alert severity level
  • After Hours Brightness: Set a different alert brightness for a specified time of day
  • Default State Control: Configure the default color, brightness, and power state when no alerts are active

Related Blueprints

  • Alert - Create a dismissible repeating alert based on an entity’s state
    Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.
  • Voice Alert Summary - Read active alerts via voice using local TTS or AI-generated summaries
    Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Setup

Create three alert counters:

  1. Navigate to Settings > Devices and Services > Helpers:
    Open your Home Assistant instance and show your helper entities.
  2. Select the Create helper button
  3. Select Counter
  4. Fill in the fields:
    - Name: Alert Count High
    - Minimum Value: 0
    - Maximum Value: 100
    - Initial Value: 0
  5. Select Advanced Settings and disable Restore the last known value when Home Assistant starts
  6. Repeat for Alert Count Medium and Alert Count Low counters
1 Like

Version 1.1 Now Available:

What’s New

  • After Hours Brightness: Set a different alert brightness for a specified time of day