The Home Assistant Cookbook - Index

A collection of posts on how to perform common tasks and deal with common problems. This Guide is intended for those new to Home Assistant, those that are struggling for answers on some subjects, and those in troubleshooting mode. All of the Home Assistant Posts are made by Community Members and most are posted in Community Guides for your convenience.

:one: Getting Started With The Forum

:two: Getting Started With HA

:three: Installation

Beginner

Advanced

Database

:four: Configuration

Integrations

Frontend

Automations

YAML

YAML - Advanced

Templating

Notifications

:five: Hardware

:six: Energy Monitoring

:seven: Voice Assistants

:eight: Technologies

ESPHome

Tasmota

Zigbee

Z-Wave

SSH

AI

Bluetooth

:nine: Troubleshooting


:one::zero: For More Experienced Users

:one::one: Contributing to the Project


Contributors

New posts in this series (or improvements to existing ones - each post is a wiki) are welcome.

For this series we are limiting topics to items directly related to Home Assistant Core & Frontend, and not individual Custom Integrations, Custom Themes, Dashboard Items, Add-ons or Blueprints. Consider starting other lists for those.

Join the cookbook discussion if you have any questions or want to contribute in other ways.

  • Make a post in Community Guides and tag it with cookbook.
  • Include a link to this index
  • Add a link from this index

Be aware that posts can be edited by anyone.


120 Likes
Dashboards #1: Themes
Trigger_Variables - variables that are available when attaching a trigger
Hands-on Practical Courses to learn Discourse Commands
How to make notifications more informative
Zigbee network optimization: a how-to guide for avoiding radio frequency interference + adding Zigbee Router devices (repeaters/extenders) to get a stable Zigbee network mesh with best possible range and coverage by fully utilizing Zigbee mesh networking
Automations #1: trigger only fires when it changes from not true to true
Organising and annotating automations
Disable a Trigger
How to launch an Alexa skill from Home Assistant
Template Select Entities
Tips on Searching for Answers & Duplicate Topics in the Forum
Tips on searching the docs
Home Assistant Cookbook - Discussion Thread
How to read a template in yaml / the why and how of all those delimiters
Custom Search Links for Frequent Searchers
What does the error "extra keys not allowed @ data['xxxx']..." mean?
How to add custom buttons to the side toolbar
Quick guide to variables in automations
About Bluetooth
Talking about the Weather
Getting the IRK for your phone
Target Selector & Entity Selector Errors
Sharing a Debug Trace
Collecting and Sharing Media Files
At What Rates Do Templates Render & Update
Help for air purifier automation
Where is the (detailed) documentation for all the different types of helpers
Help with YAML for multiple sensor output
Why zigbee devices gets disconnected
Starting out. Need help understanding
Home Assistant Cookbook - Discussion Thread
Turn the power outlet on/off
Help Please ! All My Automations Are Gone ! Completly Dissappear Without Trace
Devices acting as Router, deleting and re-adding devices
Home Assistant Crashing \ Rebooting
Different humidity sensors with different automations
Multiple cloud integrations fail (but not all)
Alarmo instalation
Need some zigbee advice
Trigger based template sensor to retrieve last change of an entity
Unable to upgrade Home Assistant core: it spins a long time, reboots, but still at old version
2025.8 very slow
Evaluating options to strengthen a sparse Zigbee network
ZHA Device limit at 24?
ZBT-1 and battery temperature sensors
Two Zigbee coordinators on the same channel?
Architecture consolidation advice needed (HA / HomeMatic / NodeRed / Hue / ZigBee...)
Xiaomi Mija Button Press Ignored
Multiple HA server on ONE network. - Wider Zigbee range
SkyConnect and Zigbee
Core 2025.4.0 -> 2025.4.1
First HA setup - feedback & advice is appreciated
Reolink Hub - want to change reolink scenes based on time
First Steps in terms of Zigbee, Matter ect
Request blueprint ZG-101Z/D
Decent documentation
Very compact dashboard like sitemaps in openhab
Where should I ask questions about this form? (Passkeys not working here)
I have Cox home life. I want to keep the equipment like the motion detectors and door sensors but I want to get away from the control panel. What do I need to do that?
2 coordinators Sonoff and SLBZ 06
Example code for esp32c6 wifi sensor in HA?
Check for state of the AC as trigger
Detecting a status multiple times before an action is taken
How to control a fan with automation for 1 hour every day
Cannot trigger a Boolean input according to calendar event
New zigbee coordinator, adjust configuration
ZBT-1 does not find any Zigbee devices
Beginner from Italy (Rome) – first Home Assistant setup, looking for tips
How to reference an entity ID from a sensor group in a script?
Norwegian electric radiator (panelovn)?
Home Assistant not finding the server
Home Assistant Green with hardware issues (running hot!)
Two ZigBee antennas and one network
Zigbee Guide: How-to add/setup local custom ZHA Device Handlers (also known as ”quirks”) in the ZHA integration
Is the Conditional Card the best way to show an action on the Dashboard?
Basic tutorial on automation (scripting, templates, blueprints, ...)
Zigbee adapter for better coverage
Reliable suppliers
Zigbee connection problem
Edit username
I want to start over, useful tips? Which hardware to support Zigbee2MQTT
Home Assistant + Aqara + Tuya
Calendar - Get Events Help
RasPi or old Mac Mini
Additional Home Assistant Connect
What hardware do i need for home assistant?
System crashes immediately after boot, any troubleshooting tips?
Generic templating options
Zigbee Issue with Sengled Bulbs
MQTT auto create config or assisted way
Maddening lockup of HAOS on almost new N100 NUC
Reducing Zigbee utilization?
Help me with automatisation please
2 coordinators in separate buildings - unable to add Zigbee relay
Automation Update Input_Number
Beginner docs (cheat sheet perhaps?) for templating
Beginner docs (cheat sheet perhaps?) for templating
Z2m: No converter available for [...]
No Internet. Time is way off. How do I set proper time?
ZHA Zigbee Light Bulb - range issue?
Zigbee unimpressive so far, at least regarding range
Motion triggered light - turn off delay using a helper timer adjusted through UI
Tuya zigbee hub
Switch Auto On-Off
Somfy Maestria Motor zigbee
Template query for sensor status update
🌐 Zone Notification Extended
Schedule smart plugin
Looking for sensors meeting my requirements
Blueprint coding learning
New automations wont save
Miele@home, miele@mobile component
Definitive Guide or Consulting Service?
Vibration sensor (Tuya)
Cheapest entry to zigbee2mqtt
Anyone else having crashes since 2024.11.X?
Change light color and revert based on door open sensor
Improve ZigBee automation reliability
Why did these SONOFF ZBminis not work?
Hi everyone, new member introduction
WTH - Documentation shouldn’t feel like debugging!
How to post more than 2 links?
WTH there is no legend in the ZHA network map?
Homeassistant hangs
WTH Do I have to go to a strange forum to search for Blueprints?
Getting started tutorial
Migrate database - lazy way?
SLZB-06 coordinator, Zigbee Devices unresponsive and 0 LQI
[WTH] - More/better information for beginners
Endless cycle to turn on/off any switch in ha
Connect ZBT-1 does not see Aqara hub G3 via Zigbee Home Automation
My first and short attempt at YAML not going so well
How does a new person to this community start contributing? and how do i access the documentation
Important Tip: Using SSH in shell_command scripts; accepting host keys!
Help! My Home assistant has become really unreliable?
Which Zigbee coordinator is best for me?
Twenty things I wish I'd known which may help new users
Could someone create a specific automation as a learning tool for me?
Searching 100% safe backup solution
Help with Zappi / Octopus / Sunsynk automation
Home Assistant Manual
Hello from a Home Assistant newbie
How to debug weird device issues?
Can't install Zigbee Adapter using Add Integration
New potential user
URC4460BC0-X-R by Universal Electronics Inc Goes Offline
Best devices for HA to start with
Troubleshooting Connection Issues with SZ-SRN12N Siren on Zigbee2MQTT
Can I use nested for loops (or similar) to generate scripts?
Switches Disappearing in Z2M
Potential Homeseer to HA convert queries
Which device should I choose to run my home assistant on
How to handle this complex automation?
Moving from Vera, best path forward
ZIgbee soil humidity sensor
Easy one automation “and triggers”
My Home Assistant keeps restarting
Help Getting Started With Zigbee
Blueprint request: 4-button Zigbee switch to save & recall light scenes (ZHA)
Optimize HA performance
Optimize HA performance
Home Assistant Cookbook - Discussion Thread
Here's some YAML code... But where do I put it?
Home assistant server status LED
Home Assistant Cookbook - Discussion Thread
Entity that derives its value from the time of day
Querying HVAC Mode on Nest in automation
(Mis)adventures with dongles
MVHR - Hardwired Boost Trigger via Lighting. Help a newbie
Redirect Voice PE Replies to Sonos
Hello, please help
Introduction and advice
Newbie in HA
Zigbee stair switch problem
Tuya? mmwave sensor?
HA not starting after HACS installation
Error when configuring integration
Smart Bulb for outside light
Recommended Z-wave and Zigbee gateways
Basic information about using Home Assistant
Zigbee ZHA/Zigbee2MQTT clarification
SLZB-MR3 -- Frequent Adapter Resets
How to help others ... or, how to write a good answer
HAOS hangs intermittently
New to Home Assistant – Need Basic Guidance
Configure own sensors
Syntax for if else template statement in a file
Friday's Party: Creating a Private, Agentic AI using Voice Assistant tools
Search function?
A Problem with zigbee2mqtt
Best Zigbee routers for HA Yellow and Aqara sensors
Zigbee Topology line colors vs real world
Major issues with high CPU utilization on HAOS
Sanity check before I buy + zigbee question
Marmitek Push LE won't join network - stuck in pairing mode
Third reality blinds and zigbee
How does wall tablet, phone and pi4 tie in?
1st New HA Network Configuration
Home Assistance in VM, for micro-datacenter
I'm just starting. Are there easy templates to use?
Is matter dead?
Very slow loading
How to start troubleshooting HA behavior with many errors
Are Philips Hue bulbs still considered the best smart bulbs?
Alternative to Hue bulbs and advice on Zigbee
2025.8.2 and almost all integrations stopped working
How large is your Home Assistant installation?
WaresMyClicker - ESP32 Automation Controller/Remote with Knobs and Lights - UK testers wanted
Zigbee2MQTT - 502 Bad Gateway?
Creating Unique Names for scene.create, persistent_notification, or Anything Else
NOOB Home Assistant Green: Supervised depreciated, now what?
Home Assistant Cookbook - Discussion Thread
How to show current readings for 5-8 temperature sensors?
Poll on the future of the Home Assistant Cookbook Index
Home Assistant Cookbook - Discussion Thread
Problem? Getting the best solution from AI
IKEA Badring configuration or bluepring
Zigbee LED Light doesn't get signal in a shelter room
Home assistant green and only being able to view the home assistant observer page
New user planning a full smart home renovation with Home Assistant, seeking advice and a shopping list for a comprehensive, non-coding friendly setup
Install HA on Raspberry Pi 5
Huge lag in HA reaction
Huge lag in HA reaction
Home Assistant too heavy for Intel N100?
Trying to extend the range of a Coordinator to End Device
Enelever error studio code server
https://www.amazon.com/THIRDREALITY-Vibration-Adjustable-Sensitivity-SmartThings/dp/B0C9DP249C/
Is there a way to have an "on / off " automation
Can’t add generic smart plug to z2m network
Weird Sengled Zigbee Behavior
Need help to understand the differences/benefits of a Zigbee Coordinator vs “hub”
Stopped because of unknown reason
Shelly i4 and roller blinds/turn of the lights
Zigbee set up - basic
Hue Dimmer Switch (gen 1) - ZHA - drops off the network
Zigbee wall switches losing connection with HA/Zigbee2MQTT
HA crashes and does not boot up
First setup with HA and Zigbee
High CPU load at one core 100%
Automation - sunrise sunset offset condition
Something isn't right with the Zigbee wired switch
MyEnergi - Zappi / Eddi / Harvi
Most frequent issues when smarthoming?
Deprecation of legacy template entities in 2025.12
Experiencing tons of issues setting up Home Assistant
Sonoff Zigbee device ‘unavailable’ and recommendation for router for UK
Home Assistant crashes with signal 11 after restart
Choosing a Server for Home Assistant
How to bind zigbee end device to a extender
Home assistant keeps going offline
[general advice] How to group and streamline automations (today)?
Same multible USB Audio Devices
How to check if device is compatible with Home Assistant?
Two coordinators shown in my network
Aqara Remote Light Switch H1 2 Rocker
Complete zigbee2MQTT failure
Dongle plus MG24
Zigbee Headaches
Zigbee network configuration: HA tools and stability of TRV connections
Best way to model more than one location (primary secondary residence for instance)
Zigbee Mesh - Bad LQI
SLZB-06 one coordinator + router
Failed (?) attempt at laziness
Holiday Lights Turning On and Off
Should I stop now?
Persistent alarming, alerting for leak sensor
Mini PC won’t give me an IP address
Zigbee keeps failing
Migrated from ZHA to Zigbee2MQTT Now everything is worse
After reinstall HA on Rpi5 HA page does not load
Home Assistant Integrations do not load anymore
Zigbee Not Working Well
Thinking of integrating HA in my home
I’m struggling. New to HA green
Sequential possibility to (de)activate devices
Help with Yaml code for PIR Occupation
Im new and i dont now hot to automate this pleas help
Help with Zigbee Routing - NWK_NO_ROUTE:205
What is the best firmware for the SONOFF Zigbee 3.0 USB Dongle Plus V2?
Creating an Automation that activates an inching relay at a set time for a set period
Help with Zigbee Routing - NWK_NO_ROUTE:205
Can I add a hubitat hub to HA to extend Zigbee mesh?
Adding Delay between two conditions
Local LLM AI - seeking a primer
Losing zigbee device connections, help!
Current options for a Google Home speaker replacement
Absolute Noob Question about Sensors and Triggers
How to iterate new templates fast?
Very unstable HAOS installation I combination with Z2M
Is a full year of uptime actually achievable? What's your experience with wireless protocol stability?
Creating automation if either of 2 things are true
Zigbee network optimization: a how-to guide for avoiding radio frequency interference + adding Zigbee Router devices (repeaters/extenders) to get a stable Zigbee network mesh with best possible range and coverage by fully utilizing Zigbee mesh networking
I need help to made a Dashboard for my Bambu Lab X2D
Migrated from Homeseer to HA
Zigbee sensors become unknown when data value is "null"
Zigbee2MQTT recognizing MIR-SO100 incorrectly (sees as TS0215A)
Zigbee Re-Pairing Devices Stuck on "Configuring"
After 2025.3.3 all my Zigbee smart plugs (Aqara/lumi.plug.maeu01 Nous/TS011F) became unresponsive
Error but nothing given to figure out why
Coordinators USB/Hybrid/LAN
Problems with network connection RPI4
SYMFONISK Table lamp spams log history
Zigbee2Mqtt Update to 1.36.1-1 Causes Unresponsiveness
Where to start? hardware and Integrations (UK)
Best devices for HA to start with
N00b with Decision Paralysis
Need help to troubleshoot a crashing HA system
Modify an entity attribute in an automation
Start second timer after first finished
Integrations Notification
2024.5+: Tracking down instability issues caused by integrations
How to see log files - when sending msg in home assistant
A new HASS hardware setup selection problem
Temperature sensor advice
Trying to create a Light Timer active between extended SunRise/Set
Best way to configure WiFi Tuya sensors?
How to do this in HA. Conversion from another system
Manual automations all show up in the front end as Automation xx
Dynamic filename in automations
Bticino/Legrand Zigbee device disconnection: Random dropouts on Sonoff Dongle
Home Assistant Cookbook - Discussion Thread
Zigbee network suddenly very unstable
Conversion from Hubitat
My Zigbee2Mqtt seems broken
How do I make text color equal entity state color?
Unbalanced zigbee network after power outtage
Handling database size
WTH can't input helpers be read only in UI
Legacy Syntax - AI Examples
Hue Integration Fails - "This entity is not available"
Slow loading via nabucasa
YAML Coding
Home Assistant Green - 20% Lifetime used of eMMC after a few months?!
Zigbee network suddenly very unstable
Sonoff ZigBee sensors disconncts
Beginners' / newbies' section or guidance?
HA Supervisor does not start anymore
Synchronize two dimmers
New HA user kind of lost in 2026.2
Index of Home Assistant documentation
Moving from HE to HA. Products compatibility questions
Home Assistant Updates and Restarts Not Working
Starting with HA only, best light switches and plugs to buy?
Best practice for a restart-proof safety shut-off automation (Smart Plug)
Home Assistant Cookbook - Discussion Thread
Has anyone paired an Innr RB 262-2 white smart bulb with ZHA?
Trouble pairing Linptech ES1ZB (MI) to Zigbee2MQTT
My end device alway got disconnet
Replacing HA controllers with a couple of smart home Hubs
Automations Headache
Do something when light is turned off, but only if it has been on for at least 15 minutes
Help with new Garage Door Card
Solution (Workaround) for Zigbee/ZHA devices stuck in "Interview Complete. Configuring."
Webhook, JSON & Sensors to store the data received
SNZB-06P started to get stuck in detected
Problem with a complicated Jinja tempate
Hand-me-down HA Green boots but HA is not accessible
HA has not found external Hard Drive
Beginners' / newbies' section or guidance?
Noob here - just gathering data for a new build
Configuring Zigbee devices for new ZBT-2
Dewenwils integration
Nortek and mesh Zigbee
[help needed] Beginner guide Zigbee2mqqt, proxmox, home assistant
Temperature Sensor not working
How to turn off light if no motion is detected for 10 minutes?
Which hardware should I buy
Losing my mind — HA Green is NOT plug and play in this house 😵‍💫
What do you use, Shelly, Tuya, Sonoff ...?
ZigBee smoke detectors dropping off network
Help needed: 2024.8 Core update unstable on RPi4, connection lost and crashes host, no issue on 2024.7
Almost everything is ”not available”
I'm lost and need some guidance
Where to ask "Beginners" questions for a "not-so-bloody-beginner"?
ZHA - Devices take stupid/no routes and lose connection
Error while processing template:
SONOFF SNZB-02D not properly working
Displaying a defined variable on Lovelace
Sonoff Zigbee 3.0 USB Dongle Plus - New Devices Won't Pair
Best procedure for shutting down the pi 4
Simple Sunset change only colors Automation Elgin
ZigBee Nous A1Z switch keeps turning off by itself
Learning Home Automation. My experience and some quesitons
Automation: Triggered when there is a difference between two humidity sensors
Entities and Text (Markdown) in a Table Card
First Installation slowed down extremely, second as well
Why are people asking the same questions over and over again? (Or the Regulars' Chatroom) 🤷
Unable to save Automations HA Green - Newb
Reuse of logic & states across multiple spaces without maintaining multiple versions
Sonoff SNZ-02D stops updating
Are any adapters fully supported out of the box without flashing?
Blueprint for VES-ZB-WAL-012 or Sunricher SR-ZG9001K8-DIM
Change of Zigbee
Home Assistant Cookbook - Discussion Thread
Sequential Setup Guide for HA
Puzzled by disconnections!
Custom Card 101
How to hide entity-name in apexchart-card
How to create multiple phrases to send at random to TTS?
Best Way to Set Up Energy Monitoring with Home Assistant?
Home Assistant Cookbook - Discussion Thread
Strange Crash, cannot find a clue
Instructions and advice for simple mortals
Any automations not triggered
Blueprint Sonos Announce
Does zigbee extend wifi range, say, to my laptop upstairs from my broadband?
Conditional / If-Then-Else ? How to proceed
Future prototype of Home Assistant
Home Assistant Cookbook - Discussion Thread
HA keeps crashing and I have no idea how to troubleshoot the problem
Alexa, home assistant, smartthings
My lights won't turn on on presence, when they just have turned off
Understanding what I have and what I need to get what I want
Automation for Diffuser
Time trigger parameters from mqtt
Virtual Meter Device with manipulate Value
Hoe to find attributes for a potential device
Disaster Recovery Planning
Total newbie, fundamental concept
Philips Hue Switches go unresponsive very often, how to get them stabilized?
Home Assistant Cookbook - Discussion Thread
Considering Homeseer4 Migration
Zigbee Topology
Getting started looking for orientation
Saying Hello - Just started
Advise on Z2M mesh network
One brand of ZigBee devices become unresponsive
Simple light on and off automation
Getting started looking for orientation
ZHA Channel 15 is over 99% utilized. Big lag. Please help!
Home Assistant Green as a cold spare?