π‘ More Sensors
The more sensors, the smarter your automations.
Automations are the heart of a smart home. Here youβll find guides to build everything from simple light automations to complex flows.
All automations have three parts:
TRIGGER β CONDITION β ACTION(When?) (If?) (What?)| Part | Description | Examples |
|---|---|---|
| Trigger | What starts the automation | Sunset, motion, time, temperature |
| Condition | What must be true | Is anyone home? Is it dark? |
| Action | What happens | Turn on lights, send message, play music |
| Automation | Trigger | Action |
|---|---|---|
| Lights at sunset | Sun goes down | Turn on living room lights |
| Good morning routine | 7:00 AM on weekdays | Turn on lights, start coffee |
| Welcome home | Person arrives | Turn on lights, unlock door |
| Good night | 11:00 PM | Turn off everything, lock doors |
| Automation | Trigger | Action |
|---|---|---|
| Washing machine done | Power < 5W | Push notification |
| Door left open | Door open > 10 min | Push notification |
| Low temperature | Temp < 18Β°C | Push notification |
| Automation | Trigger | Action |
|---|---|---|
| Adaptive lighting | Time of day | Adjust color temperature |
| Vacation mode | No one home 24h+ | Simulate presence |
| Energy monitoring | High power | Log and alert |
Go to Settings β Devices β Helpers to create:
| Helper | Use for |
|---|---|
| Input Boolean | Vacation mode, guest mode |
| Input Number | Temperature limits, timers |
| Input Select | House state (home/away/sleeping) |
| Timer | Countdown to actions |
Combine multiple actions:
- name: "Cozy evening" entities: light.living_room: state: on brightness_pct: 40 color_temp: 400 light.tv_backlight: state: on rgb_color: [255, 100, 50] media_player.living_room: state: playingπ‘ More Sensors
The more sensors, the smarter your automations.
π§ DIY Sensors
Build exactly the sensors you need.