Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteSome links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Home Assistant can reduce unnecessary heating by applying a lower target when the home is empty or asleep, restoring comfort before people return, and refusing to heat against an open window. The reliable pattern is a small control loop: identify one climate.* entity, use one clear trigger, check occupancy and safety conditions, set a conservative target, then inspect the automation trace and compare energy data. There is no universal savings percentage: the result depends on the building, equipment, weather, occupancy and the baseline you measure against.
This guide shows the UI path and YAML for schedules, occupancy, room-temperature deadbands, window contacts and optional weather inputs. Replace every example entity ID and temperature with values that match your installation and heating system.
As an Amazon Associate I earn from qualifying purchases.
What do I need before building a heating automation?
You need a working Home Assistant installation, a thermostat or heating controller exposed as a climate.* entity, and sensors that represent the conditions you want to control. Confirm the entity’s supported HVAC modes and target-temperature fields before writing an action.
- Heating entity: a thermostat, heat-pump controller, boiler interface or radiator controller represented by a climate entity.
- Room sensing: add temperature sensors in occupied rooms when the thermostat is located elsewhere or does not represent the room you care about.
- Presence data: a Person entity, device tracker or another occupancy signal if you want automatic away setbacks.
- Time source: Home Assistant’s clock, a Schedule helper or a calendar for recurring comfort and sleep periods.
- Safety inputs: window or door contacts, minimum-temperature rules and a manual override.
- Measurement: an electricity, gas, heat or device-level source that can be added to the Energy dashboard or a Utility Meter helper.
If you plan to add Zigbee or Thread sensors, verify that your radio adapter and integration support the devices before buying hardware. Keep a written list of entity IDs; examples in this article are placeholders, not names you can paste unchanged.
#1 Best Overall
- Powered by SmartThings: Connect, monitor, and automate your home through the SmartThings app. Build a reliable, unified smart home using Samsung's proven ecosystem
- Matter + Zigbee Smart Home Hub: Supports the newest Matter standard plus Zigbee for lighting, sensors, plugs, switches, thermostats, and more - thousands of compatible devices. PLEASE NOTE: Z-Wave not supported
- Easy Setup with Wi-Fi or Ethernet: Get started in minutes using Wi-Fi or a wired Ethernet connection for apartments, houses, and expanding smart home systems - Z-Wave not supported
- Automations That Work for You: Create custom routines for security, lighting, comfort, and energy savings. Many local automations continue working even if your internet goes offline
- Wide Device Compatibility: Connect compatible smart devices from Aeotec and many other brands to build a unified system for lighting, voice control, energy management, and climate settings
How do triggers, conditions and actions differ?
A trigger starts an automation when a specific event occurs, a condition checks whether the situation is acceptable at that moment, and actions change the heating system. A state that remains true does not repeatedly trigger an automation.
Triggers start one run
Useful triggers include a clock time, a Schedule helper becoming active, a temperature crossing a threshold, a Person changing zone, a contact sensor changing state, or an event from another integration. A “below” temperature trigger fires when the value crosses the boundary; it does not keep firing every minute while the room remains cold.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Conditions are evaluated at the start
Conditions can require that occupancy is away, a time window is active, a window is closed, a temperature is inside a band, or an enable switch is on. If a condition is false when the trigger starts, the actions are skipped. A condition changing later does not restart that run.
Actions execute in order
Set the HVAC mode before or together with the target temperature as required by your integration. Later actions can overwrite earlier setpoints, so avoid separate automations that issue competing commands within the same period. Automation traces show the trigger, each condition result and every action that ran.
How do I identify and name the climate entity?
Open Settings → Devices & services → Entities, search for “climate,” and open the thermostat or controller you intend to operate. Record its exact entity ID, supported HVAC modes and the attribute that exposes its target temperature.
- Turn the thermostat on manually and confirm that the climate entity’s state changes.
- Change the target in the Home Assistant card and verify that the physical system follows it.
- Check whether the integration accepts
heat,off,autoorheat_cool; do not send a mode your device does not support. - Decide whether the target should be a fixed number or an
input_numberhelper that can be adjusted from the dashboard. - Give sensors descriptive names such as “Living room temperature” and “Bedroom window” so traces remain understandable months later.
Keep one authoritative climate entity per controlled zone where possible. If several automations must touch it, document which one owns comfort, setback and safety overrides.
How do I create comfort and setback schedules?
A Schedule helper creates weekly time blocks. It becomes active when a block starts and inactive when the block ends, so it can be used either as a trigger or as a condition.
- Go to Settings → Devices & services → Helpers → Create helper → Schedule.
- Name one helper for occupied comfort periods and another for sleeping or away periods if that makes the logic easier to read.
- Define morning and evening blocks that reflect actual occupancy rather than defaulting to a full-day schedule.
- Save the helper and inspect its current state from the dashboard before connecting it to heating.
Keep temperatures system-appropriate. An official Home Assistant example sets a living-room target to 18° at 22:30; that number is an example configuration, not a safe or comfortable universal setting. Check your equipment instructions and household requirements before choosing a setback.
How do I schedule an overnight setback?
Create a time or Schedule-helper trigger at the start of the sleep period, gate it with an enable switch and any safety conditions, then call the climate “Set thermostat target temperature” action.
UI procedure
- Open Settings → Automations & scenes → Create automation.
- Choose Time as the trigger and enter the desired time, or select the Schedule helper’s active transition.
- Add a state condition for an
input_booleanthat lets you disable the automation without deleting it. - Add a climate action, select your entity, choose the supported heating mode and enter a conservative setback target.
- Save, run the automation from the editor, and inspect the trace before waiting for the scheduled time.
Equivalent YAML
alias: Heating - night setback
triggers:
- trigger: time
at: "22:30:00"
conditions:
- condition: state
entity_id: input_boolean.heating_automation_enabled
state: "on"
actions:
- action: climate.set_temperature
target:
entity_id: climate.living_room
data:
hvac_mode: heat
temperature: 18
mode: single
Replace the entity ID, helper name and temperature. The trigger starts one run at 22:30; the enable condition is checked then; the climate action applies the mode and target. If you edit the automation after the scheduled time, it will not retroactively run unless you trigger it or wait for the next occurrence.
How do I restore comfort before people wake up?
Use a second time or Schedule-helper trigger before the normal occupancy period and set a comfort target. If the building takes a long time to warm, move the trigger earlier based on observed warm-up time rather than guessing.
alias: Heating - morning comfort
triggers:
- trigger: time
at: "06:30:00"
conditions:
- condition: state
entity_id: input_boolean.heating_automation_enabled
state: "on"
actions:
- action: climate.set_temperature
target:
entity_id: climate.living_room
data:
hvac_mode: heat
temperature: 20
mode: single
The 20° value is illustrative. A separate input_number for comfort temperature lets household members adjust the target in the UI without editing YAML. If a manual override is active, add a condition or an override switch so the scheduled action does not unexpectedly replace it.
How do I make Home Assistant turn the heat down when I leave?
Use a Person state change from home to not_home, require that it remains away for a short period, then apply an away target. The delay filters brief tracker gaps and prevents a phone briefly losing connectivity from changing the heating.
Configure the Person entity
The Person integration combines one or more device trackers and can support zone-based automations. Tracker priority and update timing determine the Person state; a stationary tracker can temporarily keep someone at home. Choose trackers that update reliably and test departure and arrival in the actual zones.
Recommended Free Tools
Departure automation
alias: Heating - away setback
triggers:
- trigger: state
entity_id: person.alex
from: "home"
to: "not_home"
for: "00:10:00"
conditions:
- condition: state
entity_id: input_boolean.heating_automation_enabled
state: "on"
actions:
- action: climate.set_temperature
target:
entity_id: climate.living_room
data:
hvac_mode: heat
temperature: 16
mode: restart
Replace person.alex, the climate entity and the 16° example. Keep a frost-protection or equipment-minimum rule where required by the heating system or local conditions. Add an arrival automation that restores comfort only after the Person state is reliably home, rather than reacting to every tracker update.
Can Home Assistant use room temperature and occupancy together?
Yes. Use occupancy to select the desired comfort or setback policy, and temperature to decide whether a change is actually needed. A deadband prevents the automation from constantly switching around one threshold.
Rank #2
- Echo Hub — An easy-to-use smart home control panel redesigned for your home. Arrange controls on your dashboard to quickly adjust devices, view cameras, start routines, and more.
- Customize your dashboard — Arrange devices into sections and resize them to focus on what matters most. Create a personalized layout that matches how your family uses their connected devices.
- Reimagined for your home - With an Alexa+ and compatible Ring subscription (sold separately), get Ring camera event summaries to stay in the know. Search your Ring footage using simple voice commands. Create routines by voice, activate modes to manage multiple devices at once, and chat with Alexa to easily control your smart home.
- Home security for the whole family — Use Echo Hub to easily arm and disarm your compatible security system, making it easy for everyone in your family to manage home security. Use the Alexa app and compatible cameras, locks, alarms, and sensors to check in while you're out.
- Works with thousands of Alexa compatible devices — WiFi, Bluetooth, Zigbee, Matter, Sidewalk, and Thread devices sync seamlessly with the built-in smart home hub.
Build a deadband
- When the occupied room remains below a lower bound for several minutes, select the comfort target or heating mode.
- When it remains above an upper bound, restore setback or an idle mode.
- Between the two bounds, do nothing; this neutral zone avoids rapid toggling.
- Use a sustained “for” period and an automation mode that prevents overlapping runs.
For example, an occupied-room rule might require the sensor to stay below its lower limit for ten minutes before raising the target, while an upper-limit rule lowers it only after the room has stayed warm for the same period. The actual limits and duration are building- and equipment-specific; there is no universal deadband established for every heating system.
Prevent competing automations
Do not let a schedule automation write a comfort target while a temperature automation writes a setback target in the same interval. Consolidate decisions in one automation or use an explicit priority switch. Read the trace and the climate entity’s last-changed time to identify which automation issued the final command.
Free tools Windows power users keep installed
One-click scans. No signup required.
How do I pause heating when a window is open?
Add a window-contact condition before a heating action, and create a separate close-event automation to re-evaluate the normal schedule. This avoids heating outdoors while still allowing the system to recover after the window closes.
- Create a binary sensor for each relevant window or door and confirm that open and closed states are reported correctly.
- Add a condition requiring the contact to be closed before a comfort action runs.
- For an already-running control sequence, use a state trigger on the contact opening to set a safe idle or hold mode supported by your equipment.
- Use the contact closing as a trigger that checks occupancy, schedule and temperature again before restoring the target.
- Keep a maximum-open duration or notification if a contact remains open, so a failed sensor does not silently disable heating indefinitely.
Choose the HVAC action your controller supports. Some devices accept a hold or preset, while others require a target-temperature change; inspect the climate card and integration documentation rather than assuming all thermostats behave alike.
Should I use weather data or forecasts?
Weather entities can provide current conditions and provider-specific attributes, but forecast-based preheating should be optional. Inspect the selected weather integration’s available attributes before creating templates.
Use a simple time-and-temperature schedule as the fallback. If weather data is unavailable, stale or malformed, the fallback should still maintain the intended comfort and setback periods. Treat a forecast as a modifier—for example, starting a little earlier only when a valid cold-condition signal exists—not as the sole path that keeps the home warm.
Which HVAC mode and target should an automation set?
Set only modes exposed by your climate entity, and keep the target within the range allowed by the equipment. Home Assistant’s Climate integration commonly exposes these HVAC modes:
| Mode | Typical automation use |
|---|---|
off |
Stop automatic heating when the system and local safety rules permit it. |
heat |
Maintain the requested target with heating enabled. |
heat_cool |
Allow automatic heating or cooling around a target where the device supports both. |
auto |
Use the equipment’s own automatic mode when its integration exposes it. |
Climate actions can also set a preset or target temperature. A preset may carry device-specific behavior, so verify its effect manually before adding it to a schedule. Never assume that setting a lower target is equivalent to turning a system fully off.
How do I test an automation before trusting it?
Test each branch from the automation editor, then read its trace. A successful run should show the intended trigger, every condition result, the climate service call and the final target on the physical thermostat.
- Open the automation and choose Run or trigger the relevant state change deliberately.
- Open Traces and select the latest run.
- Confirm that the expected trigger path started the run, especially when several triggers share one automation.
- Check each condition’s evaluated value, including occupancy, enable switches, contact sensors and temperature bands.
- Verify that the climate entity accepted both HVAC mode and target, and note any error or unavailable state.
- Watch for a second automation that immediately overwrites the result; compare trace timestamps and the climate entity’s history.
Test arrival, departure, a tracker outage, an open window, an unavailable temperature sensor and a Home Assistant restart. Keep a manual dashboard control so someone can restore comfort without editing automation code.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
How do I measure whether the automation saved energy?
Configure the Energy dashboard with the available electricity, gas, water or device source, then compare like-for-like periods. Home Assistant describes the dashboard as a way to show how energy flows in and out of the home; it does not publish a universal heating-savings percentage for these automations.
Choose a measurement source
- Electricity: use a meter or device source that reports energy, not only instantaneous power.
- Gas: add a compatible gas-meter source when your integration exposes one.
- Heat: use a heat meter if your system provides one.
- Device power: when a source reports power, use the Riemann sum integral integration to create an energy sensor before adding it to the dashboard.
Use Utility Meter for repeatable periods
The Utility Meter helper can create daily, weekly or monthly cycles and retain the previous cycle value. A monthly cycle is often easier to compare with bills; a daily cycle helps detect a schedule that failed on one night.
Make the comparison fair
- Record the dates, outdoor temperature, occupancy pattern, comfort targets and setback targets for each period.
- Compare periods with similar weather and household use, or explicitly adjust your interpretation when they differ.
- Check that meter readings are complete and that a restart did not create a gap.
- Report the measured change together with the period and method instead of claiming a guaranteed percentage.
Energy data tells you what happened, not which automation caused it. Use traces and climate history alongside the meter so a lower bill is not incorrectly attributed to a schedule that was never active.
What implementation option fits my home?
Choose the least complex setup that gives you trustworthy inputs and a safe failure behavior. More sensors and finer control help only when their data is reliable and the heating system can respond predictably.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problems| Decision axis | Option with less complexity | Option with finer control |
|---|---|---|
| Control scope | One whole-home thermostat | Room-by-room valves or controllers |
| Input quality | One thermostat sensor | Multiple room-temperature sensors |
| Occupancy confidence | Manual schedule or one tracker | Several trackers combined in a Person entity |
| Response time | Fixed time and temperature targets | Targets adjusted from observed warm-up behavior |
| Connectivity | Existing Wi-Fi or vendor hub | Direct Zigbee or Thread devices |
| Measurement | Whole-home electricity or gas | Device-level or heat-meter data |
| Failure behavior | Local thermostat schedule as fallback | Automations with sensor and network-failure branches |
Radiator, boiler and heat-pump systems differ in warm-up behavior and supported commands. Confirm integration support for your country, heating equipment and radio protocol before purchasing controls.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Do I need dedicated Home Assistant hardware?
No, if Home Assistant already runs reliably on hardware you maintain. A dedicated host is useful when you want an appliance-style installation and local operation.
Rank #3
- [Multi-Protocol Hub with Matter Bridge] The M3 is a versatile hub supporting Aqara Zigbee and Thread devices. It integrates third-party devices into the Aqara Home app. Supports advanced Matter bridge functionality, enabling Aqara-exclusive scenes and signals to sync with Matter ecosystems such as Home Assistant for seamless integration. Supports up to 127 Aqara Zigbee devices (** Not third-party Zigbee devices) and 127 Thread devices (Repeaters are needed).
- [Edge Compatibilities and Local Automations] The M3 serves as an Edge Hub, prioritizing local control and automation. Upon integration, it supersedes existing Aqara hubs, shifting the automations among them to local operation (Some cloud-based notifications still require internet). Upgrade-friendly, it supports migrating Zigbee devices from older Aqara hubs.
- [Smart IR Blaster with Feedback and Learning] The 360°IR blaster not only sends commands but also provides accurate status updates by detecting traditional remote use. It connects IR air conditioning units to Matter, functioning as an AC thermostat when paired with an Aqara Temperature and Humidity Sensor. (Note: Only one AC device can be exposed to Matter. Functionality may vary based on the Matter integration app. For Apple Home exposure, use Matter integration instead of HomeKit.)
- [Optimal Wired and Wireless Connectivity] Offering both wired and wireless solutions, the smart home hub M3 provides dual-band Wi-Fi (2.4/5 GHz) with advanced WPA3 security, and a Power over Ethernet (PoE) port. The addition of a USB-C port allows for mini-UPS and power bank connections, delivering unparalleled stability. (2A USB power adapter is not included. ) . Note: To ensure a stable connection, place the Hub M3 between 6 to 19 feet from the router.
- [Privacy-Focused with Encrypted Storage, Easy Setup and Versatile Placement] The M3 prioritizes privacy by excluding microphone or camera components. It boasts 8GB end-to-end encrypted local storage, for device lists, configuration parameters, and automation configuration data. Additionally, it includes a mount and screws for flexible placement on flat surfaces, walls, or ceilings. Magic Pair technology ensures effortless detection by the Aqara Home app upon power-up.
Home Assistant Green
Home Assistant Green is official plug-and-play hardware with a quad-core 1.8 GHz processor, 4 GB of RAM, 32 GB of eMMC storage and Gigabit Ethernet. Its recommended MSRP is $199/€179. Regional stock and retailer pricing can change, so verify availability where you live.
Home Assistant Connect ZBT-2
Connect ZBT-2 is an optional Zigbee 3.0 and Thread adapter. It can connect compatible Zigbee, Matter or Thread devices directly to Home Assistant and has a recommended MSRP of $49/€45. Use it only when you need those protocols and do not already have a suitable coordinator.
For sensors, radiator valves and meters, select exact models only after checking the heating system, local electrical requirements, radio protocol and Home Assistant integration support.
How do I make the system fail safely?
A heating automation should degrade to a predictable manual or local schedule when Home Assistant, a sensor or the network is unavailable.
- Keep the thermostat’s own schedule or a manual setpoint as a fallback.
- Use an enable/disable helper and a visible dashboard control.
- Do not apply an extreme target when a temperature sensor is unavailable or reports an impossible value.
- Retain a system minimum or frost-protection rule required by the equipment and local conditions.
- Notify yourself when a Person tracker, window contact, climate entity or energy meter becomes unavailable.
- After a Home Assistant restart, verify the current schedule and climate target rather than assuming missed triggers were replayed.
- Document who can override the automation and how to restore automatic control.
What problems commonly break heating automations?
The automation never runs
Check that the trigger actually changed state, the automation is enabled and the configured time zone is correct. A state that was already true when the automation was created will not create a new trigger; change it deliberately or run the automation from the editor.
The condition blocks every run
Read the trace and inspect the exact state value. Person entities may remain home when a stationary tracker has not updated, while Schedule helpers may be inactive outside their defined blocks.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →The target changes and then changes back
Search traces for another automation acting on the same climate entity. Centralize ownership or add explicit priority conditions so comfort, setback and safety logic cannot fight.
The temperature rule oscillates
Add a lower and upper bound, require each state to persist for several minutes, and choose an automation mode that prevents overlapping runs. Confirm that the sensor is in the occupied room and is not being heated directly by a radiator or draft.
The device rejects the action
Review the climate entity’s supported HVAC modes, target range and preset names. Remove unsupported fields, test the action manually and inspect the trace for the service error.
Energy data looks wrong
Confirm whether the source reports power or accumulated energy, check the sensor’s unit and reset behavior, and verify that the Utility Meter cycle matches the period you are comparing. A missing meter interval cannot be repaired by an automation trace.
How should I roll out changes without losing control?
Change one variable at a time and observe it through a complete comfort and setback cycle. Start with a schedule and manual enable switch, then add occupancy, temperature deadbands, contact sensors and weather modifiers only after each earlier layer is reliable.
- Run the schedule with a harmless target and confirm traces.
- Enable the real setback and comfort targets while monitoring the physical system.
- Add the departure delay and test a short walk outside before relying on it.
- Add room-temperature hysteresis and verify that no second automation overwrites the result.
- Add window and weather safeguards with explicit unavailable-data behavior.
- Record meter readings and operating conditions for comparable periods.
This staged approach makes a failed change easy to identify and gives you a traceable link between a control decision and an energy reading.
Frequently Asked Questions
Will Home Assistant run my heating schedule when the internet is down?
If Home Assistant and the heating integration are running locally, automations can continue without an internet connection, but cloud-dependent thermostats, weather providers and remote trackers may stop updating. Keep the thermostat’s local controls or schedule available as the fallback for an extended outage.
How long should I delay an away trigger?
There is no universal delay. Choose a period long enough to cover normal phone or tracker dropouts, then test it against your household’s departure pattern; a longer delay reduces false-away events but postpones the setback.
Can I change comfort temperature without editing YAML?
Create an input-number helper for the comfort target and select that helper in the climate action’s data template. Give it a sensible minimum, maximum and step for the equipment, and expose it on a dashboard for authorized household members.
What happens to a scheduled trigger during daylight-saving changes?
Time triggers follow Home Assistant’s configured local time, so the wall-clock event shifts with daylight-saving rules. Check the next-run time after a time-zone or seasonal-clock change, especially when a Schedule helper spans midnight.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

