Home Assistant Automations That Cut Your Electric Bill

Power-User · Level 3 of 3

Home Assistant is a home automation platform that runs on a computer in your home. This guide assumes it is already running and that you can inspect the entities provided by your devices. Start with the beginner automation guide if you still need that foundation. You do not need a water-heater relay for this guide; keep electrical installation outside this software exercise.

You can use Home Assistant to find avoidable standby use, coordinate a suitable thermostat schedule, review water-heating consumption, and move flexible tasks outside expensive tariff windows. Savings depend on what actually changes at your home. Start by measuring a load and checking your rate; the worked calculation below is an illustration, not a measured household saving or a promise that these automations pay for themselves.

What do you need before setting any of this up?

None of the automations below need anything exotic, but each one assumes a specific piece of hardware is already added as an entity in Home Assistant:

  • Home Assistant itself, running and reachable from the dashboard you normally use
  • At least one metered smart plug (reports live wattage, not just on/off) for the standby-load automation
  • For thermostat control, an integration exposing the specific climate actions your exact model supports
  • For water heating, monitoring information or manufacturer-supported controls; no generic mains switch or relay
  • Your utility’s time-of-use rate schedule, if you’re on a TOU plan (check your account portal or a recent bill)

Skip any automation that does not match equipment you already own. A plug must be approved for the exact load, not merely have a similar power rating. Do not use this guide to switch medical equipment, refrigeration, heaters, cooking appliances, network equipment, or anything whose loss of power creates a hazard. Keep a manual way to restore a low-stakes device and check the maker’s instructions before adding an accessory.

What actually moves the needle on your electric bill?

Use the marginal electricity rate on your own bill, including applicable usage charges, rather than a national average. For time-of-use plans, match the rate to the hours being changed. Fixed service fees do not disappear when you reduce consumption. The arithmetic is energy avoided in kWh multiplied by the applicable price per kWh; first check that the automation actually reduces that consumption.

RouteMeasure firstReason to skip
Standby controlActual idle watts and avoidable hoursDevice must stay powered or draw is too small
Thermostat scheduleEquipment type, comfort and existing scheduleExisting controls already do the job
Water-heating reviewManufacturer controls and consumptionNo approved control path
Tariff reminderActual peak/off-peak rate differenceFlat-rate plan or task cannot move safely

How do you catch standby and vampire loads with a smart plug?

A metered smart plug reports power consumption as well as on/off state. Inspect your exact model’s integration and confirm it exposes a power sensor with watts as its unit. A switch entity alone cannot provide this measurement. Start with a low-stakes lamp or another manufacturer-approved load. Buying monitoring hardware has a cost too: compare that cost with the small amount of energy you might avoid before expanding.

After the plug and power sensor are available, observe their history before choosing a threshold. The example below turns off a suitable low-stakes device after its power crosses below 5 watts and remains there for an hour. Those values are example settings, not typical device consumption. Do not use this on a console or computer that might be updating or writing data; low wattage does not prove it is safe to cut power.

alias: Cut standby power to TV cluster
triggers:
  - trigger: numeric_state
    entity_id: sensor.tv_plug_power
    below: 5
    for:
      hours: 1
conditions:
  - condition: state
    entity_id: input_boolean.standby_cutoff_enabled
    state: "on"
actions:
  - action: switch.turn_off
    target:
      entity_id: switch.tv_plug

Create the guard first under Settings → Devices & services → Helpers → Create helper → Toggle. Name it Standby cutoff enabled and confirm its entity ID is input_boolean.standby_cutoff_enabled. Leave it off while preparing the automation. Under Settings → Automations & scenes, create an empty automation, open its menu, choose Edit in YAML, and paste the example as one automation. Replace both plug entity IDs with your actual entities. Save, inspect the action target, and only then enable the guard for a supervised check. You can turn the helper off to pause automatic cutoff without editing YAML. The smart plug ideas guide gives other uses to evaluate separately.

How do you set back HVAC on a schedule instead of running it constantly?

Check the thermostat’s own schedule before adding Home Assistant. Use a setpoint plan approved for your equipment and household; heat pumps with electric backup heat need particular care because recovery can call for that backup. DOE’s Building America guidance calls for adaptive recovery for heat pumps. A fixed recovery interval or one pair of temperatures is not appropriate for every home.

If you later add Home Assistant control, verify the climate entity’s supported actions and displayed temperature unit before entering any value. Do not paste Fahrenheit values into a Celsius setup. Check heating, cooling, or heat/cool mode and any required temperature range separately. Keep freeze protection and equipment safeguards in place, and use your installer’s guidance for setbacks. This repair removes the universal temperature YAML rather than presenting it as a safe default.

How should you review water-heating use safely?

Start with consumption monitoring and the controls supplied by the water-heater manufacturer. Do not install a generic mains relay, interrupt power on a timer, or choose a switch from nameplate amperage alone. This guide supplies no water-heater power-cut YAML. If a control or wiring change is needed, use a qualified installer and equipment approved for that exact model.

Follow the manufacturer’s temperature, sanitation, scald-protection, and operating guidance. A household schedule is not a reason to disable protective cycles or change storage temperature by guesswork. For heat-pump water heaters, ENERGY STAR’s installation guidance distinguishes operating modes and emphasizes following manufacturer instructions. Your tank, controls, occupants, and local requirements determine the appropriate settings. If you cannot verify an approved scheduling path, leave control alone and record consumption instead.

How do you shift flexible loads to off-peak time-of-use hours?

If your utility has a time-of-use plan, find the actual peak window, season, weekday rules and rates in your account. Do not assume evenings are always cheaper. For this example, 16:00–21:00 is an invented window you must replace. The helper below only records that example window; it does not block a dishwasher by itself. Prefer a reminder or the appliance’s approved delay-start feature to cutting power or starting an appliance unattended.

alias: Mark example peak TOU window
triggers:
  - trigger: time
    at: "16:00:00"
actions:
  - action: input_boolean.turn_on
    target:
      entity_id: input_boolean.peak_hours_active
---
alias: Clear peak TOU window
triggers:
  - trigger: time
    at: "21:00:00"
actions:
  - action: input_boolean.turn_off
    target:
      entity_id: input_boolean.peak_hours_active

Create a Toggle helper with entity ID input_boolean.peak_hours_active before using these examples. The code block contains two automations separated by ---; paste each into a separate empty automation in the YAML editor, without the separator. Replace the times with your tariff. A restart during the window can leave a clock-driven helper wrong until its next trigger, so check its state after restarts and tariff changes. Do not treat it as an equipment interlock. For a simple household task, a calendar reminder may be enough.

How much of this is realistic to expect?

Here is transparent arithmetic using invented inputs: avoiding a measured 10-watt load for 8 hours daily over 30 days would avoid 10 ÷ 1,000 × 8 × 30 = 2.4 kWh. At an illustrative $0.20/kWh, that is $0.48 before the monitoring plug’s own use and purchase cost. Those are scenario inputs, not a typical household saving. Use your measured watts, genuinely avoidable hours, and actual tariff. If the result is tiny, keep the simple manual routine.

Research and calculation note: this October 26, 2026 repair used Home Assistant’s current automation YAML and trigger documentation, DOE Building America thermostat guidance, and ENERGY STAR water-heater installation guidance. It removes the earlier national-rate figure and unsupported monthly saving ranges. No devices, household savings, or YAML were tested on a running Home Assistant installation. The calculation is illustrative; the code still requires checks against your entity IDs, equipment and installed version. This is a targeted repair, not a complete factual revalidation of the original article.

Compare consumption over representative periods and record occupancy, weather, settings and tariff changes alongside the readings. Two different weeks do not isolate an automation’s effect if the weather or household use changed. Distinguish reduced kWh from a lower bill caused by shifting the same kWh to a cheaper period. Keep those observations in your own notes rather than claiming that the software alone caused every difference.

Start with one measured, low-stakes load. Check its physical button, manual override and behavior after a Home Assistant restart before leaving an automation enabled. Keep account-linked integrations updated and avoid exposing your dashboard publicly just to monitor energy away from home. Revisit thresholds and tariff windows when your devices or utility plan change. If the thermostat already schedules well or monitoring shows little avoidable use, stop there. The beginner automation list can help you choose another useful task without adding unnecessary equipment.