Red Alert HA Template 0825

Updated Red Alert template, August 2025

About This Project

This project provides updated automation templates for Home Assistant that respond to alert conditions delivered by the Oref Alert integration, which makes red alerts issued by Pikud HaOref (the Israeli Home Front Command) available within Home Assistant. The templates are written in YAML and include a preemptive alert automation that performs keyword matching against the alert location sensor, such as binary_sensor.oref_alert, to detect the newer preemptive alert class. The repository also documents how the alert message format changed during 2025, including the shift from separate preemptive alert events to a series of status update messages during the June 2025 Iran-Israel War, and includes the original Hebrew message text for reference.

The project's approach centres on using smart lighting as a status indicator. The included flashing-lights scripts assign colours to alert states, with orange for preemptive alerts, red for active alerts, and green for all-clear, applied to a light group of RGB-capable Zigbee bulbs. Automations are built to trigger actions such as turning on all lights, which the author describes as an effective and noticeable signal of an incoming or ongoing alert.

The templates are intended for Home Assistant users in Israel or elsewhere who rely on the Oref Alert integration and want to automate preparedness responses, such as lighting, notifications, or other household actions, when alerts occur. They may also be useful to developers working on alert-driven automations who need reference material on how the Pikud HaOref message formats changed during this period.

Project Details

Tags

home-assistantpikud-haorefpreparednessred-alert

Explore More Projects