HASSL
HASSL gives you human-friendly language for Home Assistant automations on your own infrastructure.
Overview
Home Assistant Simple Scripting Language Home Assistant Simple Scripting Language. Contribute to adanowitz/HASSL development by creating an account on GitHub. The project has 197 GitHub stars and is licensed under MIT.
Key Features
Source: GitHub README
- Readable DSL → write logic like natural language (
if motion && lux < 50 then light = on) - Sync devices → keep switches, dimmers, and fans perfectly in sync
- Schedules → declare time-based gates (
enable from 08:00 until 19:00) - Weekday/weekend/holiday schedules → full support for Home Assistant’s Workday integration (v0.4.0)
- Loop-safe → context ID tracking prevents feedback loops
- Per-rule enable gates →
disable ruleorenable ruledynamically - Inline waits →
wait (!motion for 10m)works like native HA triggers - Color temperature in Kelvin →
light.kelvin = 2700 - Modular packages/imports → split automations across files with public/private exports
- Auto-reload resilience → schedules re-evaluate automatically on HA restart
Getting Started
Source: GitHub README
git clone https://github.com/adanowitz/hassl.git
cd hassl
pip install -e .
hasslc --help
Normalized Features
Source: tool-features-normalized.json
pip.
Deploy
Category
Related Home Automation & IoT Tools
View all 33 →Home Assistant
85KOpen-source home automation that puts local control and privacy first — 3,400+ integrations, voice control, and energy management on a Raspberry Pi or local server.
Homebridge
25KHomebridge is a self-hosted home automation & IOT tool that provides homeKit support for the impatient.
Tasmota
24KOpen-source firmware for ESP8266/ESP32 devices providing total local control via MQTT, web UI, and HTTP.
Thingsboard
21KThingsboard is a self-hosted home automation & IOT replacement for Datadog and Google Cloud IOT Core.
EMQX
16KLeverage EMQX's leading MQTT technology & advanced AI platform capabilities to power real-time intelligence, software-defined vehicles, IIoT, smart cities, connected AI agents, and more
Zigbee2MQTT
15KZigbee to MQTT bridge, get rid of your proprietary Zigbee bridges