Christmas Smart Home

How to Measure and Calculate What Your Christmas Lights Cost With Home Assistant

A smart plug with energy monitoring shows what your Christmas lights cost to run, and Home Assistant can keep the running total for the whole season. You need the watts, the hours and the price on your electric bill.

House at night with christmas lights along the roofline, porch, fence and hedges
Roofline, porch, fence and hedge lights can each go on their own metered plug.

The steps run from a pencil-and-paper estimate to a Home Assistant dashboard with cost, alerts and a season-end report. The numbers from my three trees in Sacramento are the worked example, and the files are free to copy.

Key Takeaways

  • Cost formula: watts ÷ 1,000 × hours × price per kWh.
  • To estimate, read the watts on the tag. If it lists only amps, multiply by 120 volts for an upper estimate.
  • The calculator below takes watts or a measured kWh figure.
  • To measure, put the lights on an energy-monitoring smart plug and read the kWh after a full night.
  • In Home Assistant, a Utility Meter helper totals the season and a Template helper turns kWh into dollars.
  • For outdoor lights, choose an IP64 or IP65 plug and check its load limit. I use the Tapo P430M outside and a Shelly plug indoors.
  • LED lights cost little. A 5-watt string run 6 hours a night for 45 nights costs 25 cents at the U.S. average rate.

How to Calculate What Christmas Lights Cost to Run

Watts  Â·  Hours  Â·  Price

  1. Find the watts. Read the tag near the plug or the box. If it gives amps, multiply by 120 volts: 0.33 amps × 120 is about 40 watts.
  2. Count the hours. Hours per night times the number of nights. Six hours for 45 nights is 270.
  3. Work out the kWh. Watts × hours ÷ 1,000. A 40-watt string for 270 hours uses 10.8 kWh.
  4. Multiply by your rate. At 18.17 cents, 10.8 kWh costs $1.96.

That rate is the U.S. residential average for September 2026, from the Energy Information Administration. Use the price per kWh on your own bill.

Amps times volts runs high on LED lights. My potted tree reads 0.08 amps at 121 volts, which multiplies to 9.7, and its measured draw is 5.5 watts.

Christmas Light Cost Calculator

Pick an example or type in your own numbers. Choosing a state fills in its average residential price.

Calculator

Christmas Light Cost

State prices are September 2026 averages. Measured kWh is one night on a smart plug and replaces watts, quantity and hours.

Season cost: $1.96
10.80 kWh for the season, 4.4 cents a night

Christmas Light Cost by Wattage

LoadkWh for the seasonAt 12¢At 18.17¢ (U.S. average)At 30¢
5 W1.35$0.16$0.25$0.41
10 W2.7$0.32$0.49$0.81
25 W6.75$0.81$1.23$2.02
50 W13.5$1.62$2.45$4.05
100 W27$3.24$4.91$8.10
250 W67.5$8.10$12.26$20.25
500 W135$16.20$24.53$40.50
Season of 45 nights at 6 hours a night. For 12 hours a night, double it.

For a starting wattage, EnergySage puts a string of 100 incandescent lights at 40 watts, a string of 100 LEDs at 5 to 10, and a 6-foot tree with 600 incandescent lights at 240.

Plan the Whole Display

List each decoration to see which one costs the most. The total watts tell you whether a plug or a circuit can carry it.

Calculator

Whole-Display Planner

Uses the nights and the price from the cost calculator.

Whole display: $9.41
184.4 watts with everything on

How Your State Changes the Cost

The same tree costs $8.59 a season in Nevada and $31.30 in Hawaii.

A 240-Watt Incandescent Tree by StateHawaii: $31.30; Maine: $20.28; California: $20.00; New York: $18.42; U.S. average: $11.77; Texas: $10.31; Washington: $9.72; Nevada: $8.59.A 240-Watt Incandescent Tree by StateHawaii$31.30Maine$20.28California$20.00New York$18.42U.S. average$11.77Texas$10.31Washington$9.72Nevada$8.59
A 240-watt tree, 45 nights at 6 hours, at each state’s September 2026 residential average from the Energy Information Administration.

If You Pay a Time-of-Day Rate

Average the price over the hours the lights are on.

SMUD, my utility, charges 17.76 cents from 5 to 8 p.m. on winter weekdays and 12.85 cents off-peak, and my account pays 11.35 cents from midnight to 6 a.m. Weighted across a 4 p.m. to 8 a.m. schedule and seven days, that is 12.95 cents.

The fields start with my prices and schedule. Enter yours and send the result to the cost calculator.

Calculator

Time-of-Day Rate

Average price: 12.95 cents per kWh

How to Measure Christmas Lights With a Smart Plug

  1. Plug the lights into the smart plug and turn them on.
  2. Read the watts in the plug’s app once the number settles. Steady lights give one number.
  3. Leave them on for a full night and read the kWh. Chasing lights, inflatables and animated figures change as they run, so use this figure for them.
  4. Multiply the night’s kWh by the nights in your season, then by your rate.
  5. Move the plug to the next decoration and repeat.

One plug can measure a power strip of indoor lights together. Give a decoration its own plug when you want its separate cost.

How to Choose the Plug

  • Energy monitoring. Some outdoor plugs only switch. The listing should name power or energy monitoring.
  • Weather rating. Outdoors, buy IP64 or IP65. An indoor plug stays indoors.
  • Load limit. Add up everything on the plug. Dimmer plugs carry less: the P430M is rated for 150 watts of LED or 300 watts of incandescent.
  • Temperature. Tapo lists the P430M from -4°F to 122°F.
  • Connection. Wi-Fi needs no hub. Zigbee, Z-Wave and Thread each need a radio or border router.
PlugWhereConnects byMeasures energyPrice seen
Tapo P430M dimmer (mine, outdoors)Outdoor, IP65Wi-Fi, MatterYes$16.99
Shelly Plug US Gen4 (I use the earlier Plus Plug US)IndoorWi-Fi, Zigbee, MatterYes$24.99
Tapo P110M, 4-packIndoorWi-Fi, MatterYes$28.69
Kasa KP125M, 4-packIndoorWi-Fi, MatterYes$35.99
Innr Zigbee, 4-packIndoorZigbeeYes$49.99
Minoston MP22ZPOutdoor, IP65; the listing says keep out of direct rainZ-WaveYes$33.99
Tapo P400M, two outletsOutdoor, IP65Wi-Fi, MatterNot listed$18.99
Amazon prices on November 29, 2026. Plugs I do not own are here on their published specs.

More Plugs, Meters and Hubs

ProductWhat it doesNeedsPrice seen
SONOFF S61sIndoor Matter plug with energy monitoringWi-Fi and a Matter controller$11.12
THIRDREALITY Zigbee plugIndoor plug with power monitoringZigbee radio$11.04
Eve EnergyIndoor Matter-over-Thread plug and power meterThread border router$28.95
Onvis outdoor plugOutdoor IP65 plug with energy monitoringThread border router$28.79
Minoston MP21ZPIndoor Z-Wave plug with energy monitoringZ-Wave radio$26.34
Plug-in watt meterReads watts and kWh on its own screenAn outlet$12.49
SONOFF ZBDongle-EZigbee radio for Home AssistantA USB port$20.90
Home Assistant Connect ZWA-2Z-Wave radio for Home AssistantA USB port$79.00
Home Assistant GreenReady-made Home Assistant computerA network connection$219.00
Amazon prices on November 29, 2026. I have not used these; the details come from their listings.

A plug-in watt meter measures one string with no app or hub. Test outdoor lights with it indoors.

When to Use a Smart Switch

Soffit outlets wired to a wall switch can be measured at the switch. A relay such as the Shelly 1PM Mini Gen4, rated for 8 amps, goes in the box behind it and meters the whole run. It is line-voltage work, so hire an electrician unless you already do your own wiring.

How to Set Up Christmas Light Tracking in Home Assistant

Meters  Â·  Cost  Â·  Alerts

You need a running Home Assistant and at least one energy-monitoring plug. If you are starting from nothing, see how to install Home Assistant on a Synology. Steps 1 through 6 happen in the settings screens.

Step 1: Add the Plug

  1. Set the plug up in its own app on 2.4 GHz Wi-Fi and update the firmware.
  2. In Home Assistant, go to Settings > Devices & services > Add integration and choose TP-Link Smart Home or Shelly.
  3. For Tapo, sign in with your TP-Link account, which unlocks local control. If that fails, turn on Third-Party Compatibility under Tapo Lab in the Tapo app.
  4. Rename the device after the decoration, such as Tree Left, and assign a room.
  5. Delete any schedule in the plug’s app. Two schedulers will fight over the same lights.

The P430M was missing from Home Assistant’s TP-Link device list when I checked, and both of mine work. It appears as a light and a switch. Use the switch for lights with their own LED driver. Shelly plugs push changes to Home Assistant locally.

Step 2: Find the Two Sensors

Open the device page and note the entity names. You want the power sensor in watts and the energy sensor in kWh.

PlugPower nowEnergy to track
TapoCurrent consumption (W)This month’s consumption (kWh)
ShellyPower (W)Energy (kWh, lifetime)
Plug with watts onlyPower (W)Create it in the note below

For a plug that reports only watts, create a helper of type Integral, pick the power sensor, set the method to Left, the prefix to k and the time unit to hours. The result is kWh.

Step 3: Create a Season Meter

Go to Settings > Devices & services > Helpers > Create helper > Utility Meter. Choose the kWh sensor from step 2, set the reset cycle to No cycle and leave Periodically Resetting on, which lets the meter keep adding when a Tapo plug starts a new month.

Name it Christmas Energy Tree Left and repeat for each plug.

Step 4: Add Your Electric Rate

Create a Number helper named Christmas Electricity Rate with a minimum of 0, a maximum of 1 and a step of 0.0001. Type your price in dollars per kWh, such as 0.1817.

Step 5: Total the Energy and Turn It Into Dollars

Create a Template sensor helper named Christmas Energy Total with unit kWh, device class Energy and state class Total. Paste this state, with your own meters:

{{ (states('sensor.christmas_energy_tree_left') | float
    + states('sensor.christmas_energy_tree_right') | float
    + states('sensor.christmas_energy_tree_indoor') | float) | round(3) }}

Under Availability, stop it from reporting while a meter is loading:

{{ has_value('sensor.christmas_energy_tree_left')
   and has_value('sensor.christmas_energy_tree_right')
   and has_value('sensor.christmas_energy_tree_indoor') }}

Create a second one named Christmas Energy Cost with unit USD, device class Monetary and state class Total:

{{ (states('sensor.christmas_energy_total') | float
    * states('input_number.christmas_electricity_rate') | float) | round(3) }}

The result is kWh times one average rate. It leaves out your fixed monthly charge and the trickle the plug itself uses.

Step 6: Show It on a Dashboard

Add Tile cards for the cost, the total and each plug, and a Statistics graph of the season meters by day. Under Settings > Dashboards > Energy, add each plug as an individual device to see it beside the rest of the house. The dashboard files below also project the cost through January 6.

Step 7: Automate the Schedule

Trigger at your on time, your off time and when Home Assistant starts, then let a time condition pick on or off. The start trigger puts the lights back after a restart at night. Leave out an automation-reloaded trigger: saving any automation would relight a tree you had switched off by hand.

Step 8: Get an Alert When a Tree Goes Dark

A plug that is on and drawing under 1 watt usually means the lights are unplugged or their own switch is off. It takes two triggers.

A numeric trigger below 1 watt for five minutes catches lights that fail while running. A fixed time, five minutes after the schedule starts, catches lights that were already dark, because their reading never crosses the line.

Step 9: End and Reset the Season

On January 6, one automation turns the lights off, disables the schedule and sends the total to my phone. On November 1, another calls utility_meter.calibrate with a value of 0 to start the new season. Turn the schedule back on when the lights go up.

Copy the Home Assistant Files

The package builds steps 3, 4, 5, 7, 8 and 9 in one file, for three trees. Rename the entities to match yours. With fewer plugs, delete their lines everywhere, including the totals and lists.

Package: meters, rate, cost, schedule, power check, season end, reset
# Christmas light energy and cost tracking for Home Assistant.
# Save as /config/packages/christmas_energy.yaml and enable packages:
#   homeassistant:
#     packages: !include_dir_named packages
#
# Rename these to match your plugs (Settings > Devices & services > Entities):
#   switch.tree_left   sensor.tree_left_power   sensor.tree_left_energy
#   switch.tree_right  sensor.tree_right_power  sensor.tree_right_energy
#   switch.tree_indoor sensor.tree_indoor_power sensor.tree_indoor_energy
#   notify.mobile_app_your_phone
#
# *_power is watts now. *_energy is a kWh counter. Tapo plugs: use
# "this month's consumption". Shelly plugs: use "energy".

input_number:
  christmas_electricity_rate:
    name: Christmas electricity rate
    min: 0
    max: 1
    step: 0.0001
    mode: box
    unit_of_measurement: USD/kWh

# No cycle: each meter keeps adding until the November 1 automation zeroes it.
utility_meter:
  christmas_energy_tree_left:
    source: sensor.tree_left_energy
    periodically_resetting: true
  christmas_energy_tree_right:
    source: sensor.tree_right_energy
    periodically_resetting: true
  christmas_energy_tree_indoor:
    source: sensor.tree_indoor_energy
    periodically_resetting: true

template:
  - sensor:
      - name: Christmas Energy Total
        unique_id: christmas_energy_total
        unit_of_measurement: kWh
        device_class: energy
        state_class: total
        availability: >
          {{ has_value('sensor.christmas_energy_tree_left')
             and has_value('sensor.christmas_energy_tree_right')
             and has_value('sensor.christmas_energy_tree_indoor') }}
        state: >
          {{ (states('sensor.christmas_energy_tree_left') | float
              + states('sensor.christmas_energy_tree_right') | float
              + states('sensor.christmas_energy_tree_indoor') | float) | round(3) }}
      - name: Christmas Energy Cost
        unique_id: christmas_energy_cost
        unit_of_measurement: USD
        device_class: monetary
        state_class: total
        availability: >
          {{ has_value('sensor.christmas_energy_total')
             and states('input_number.christmas_electricity_rate') | float(0) > 0 }}
        state: >
          {{ (states('sensor.christmas_energy_total') | float
              * states('input_number.christmas_electricity_rate') | float) | round(3) }}

automation:
  - id: christmas_lights_schedule
    alias: Christmas Lights Schedule
    description: On 4 pm to 8 am. Re-applies the right state after a restart.
    mode: single
    triggers:
      - trigger: time
        at: "16:00:00"
      - trigger: time
        at: "08:00:00"
      - trigger: homeassistant
        event: start
    actions:
      - choose:
          - conditions:
              - condition: time
                after: "16:00:00"
                before: "08:00:00"
            sequence:
              - action: switch.turn_on
                target:
                  entity_id: [switch.tree_left, switch.tree_right, switch.tree_indoor]
        default:
          - action: switch.turn_off
            target:
              entity_id: [switch.tree_left, switch.tree_right, switch.tree_indoor]

  - id: christmas_lights_power_check
    alias: Christmas Lights Power Check
    description: Notify when a plug is on but draws under 1 W, or is offline at 4:05 pm.
    mode: single
    triggers:
      - trigger: time
        at: "16:05:00"
      - trigger: numeric_state
        entity_id: [sensor.tree_left_power, sensor.tree_right_power, sensor.tree_indoor_power]
        below: 1
        for: "00:05:00"
    conditions:
      - condition: state
        entity_id: automation.christmas_lights_schedule
        state: "on"
    actions:
      - variables:
          problems: >
            {% set ns = namespace(bad=[]) %}
            {% for x in ['left', 'right', 'indoor'] %}
              {% set sw = states('switch.tree_' ~ x) %}
              {% set w = states('sensor.tree_' ~ x ~ '_power') | float(-1) %}
              {% if sw in ['unavailable', 'unknown'] %}{% set ns.bad = ns.bad + [x ~ ' plug is offline'] %}
              {% elif sw == 'on' and w < 1 %}{% set ns.bad = ns.bad + [x ~ ' tree is on but not drawing power'] %}{% endif %}
            {% endfor %}
            {{ ns.bad | join('. ') }}
      - condition: template
        value_template: "{{ problems | trim | length > 0 }}"
      - action: notify.mobile_app_your_phone
        data:
          title: Christmas lights need a look
          message: "{{ problems | trim }}."

  - id: christmas_lights_season_end
    alias: Christmas Lights Season End
    description: January 6 at 10 am. Lights off, schedule disabled, total sent.
    mode: single
    triggers:
      - trigger: time
        at: "10:00:00"
    conditions:
      - condition: template
        value_template: "{{ now().month == 1 and now().day == 6 }}"
    actions:
      - action: automation.turn_off
        target:
          entity_id: automation.christmas_lights_schedule
      - action: switch.turn_off
        target:
          entity_id: [switch.tree_left, switch.tree_right, switch.tree_indoor]
      - action: notify.mobile_app_your_phone
        data:
          title: Christmas lights season over
          message: >
            {% if has_value('sensor.christmas_energy_total') and has_value('sensor.christmas_energy_cost') %}Season
            total: {{ states('sensor.christmas_energy_total') | float | round(1) }} kWh,
            ${{ '%.2f' | format(states('sensor.christmas_energy_cost') | float) }}.{% else %}Schedule disabled.{% endif %}

  - id: christmas_energy_reset
    alias: Christmas Energy Reset
    description: November 1. Zero the meters. Turn the schedule on yourself when the lights go up.
    mode: single
    triggers:
      - trigger: time
        at: "10:00:00"
    conditions:
      - condition: template
        value_template: "{{ now().month == 11 and now().day == 1 }}"
    actions:
      - action: utility_meter.calibrate
        target:
          entity_id:
            - sensor.christmas_energy_tree_left
            - sensor.christmas_energy_tree_right
            - sensor.christmas_energy_tree_indoor
        data:
          value: "0"
Dashboard: built-in cards only
# Christmas energy view using only cards that ship with Home Assistant.
# Dashboard > Edit > + (new view) > three dots > Edit in YAML, then paste.
title: Christmas
path: christmas
icon: mdi:pine-tree
type: sections
max_columns: 2
sections:
  - type: grid
    cards:
      - type: heading
        heading: Season so far
        icon: mdi:string-lights
      - type: tile
        entity: sensor.christmas_energy_cost
        name: Cost
      - type: tile
        entity: sensor.christmas_energy_total
        name: Energy
      - type: markdown
        content: >
          {% if has_value('sensor.christmas_energy_total') %}
          {% set rate = states('input_number.christmas_electricity_rate') | float(0) %}
          {% set watts = states('sensor.tree_left_power') | float(0) + states('sensor.tree_right_power') | float(0) + states('sensor.tree_indoor_power') | float(0) %}
          {% set y = now().year + (1 if now().month > 1 else 0) %}
          {% set end = as_timestamp(strptime(y ~ '-01-06 08:00:00 ' ~ now().strftime('%z'), '%Y-%m-%d %H:%M:%S %z')) %}
          {% set left = [(end - as_timestamp(now())) / 86400, 0] | max %}
          {% set est = states('sensor.christmas_energy_total') | float + left * 16 * watts / 1000 %}
          {% if watts > 0 and left < 70 %}On track for about **{{ '%.1f' | format(est) }} kWh** and **${{ '%.2f' | format(est * rate) }}** by January 6.{% else %}The projection appears while the lights are on.{% endif %}
          {% else %}Waiting for the first reading.{% endif %}
      - type: tile
        entity: input_number.christmas_electricity_rate
        name: Rate
  - type: grid
    cards:
      - type: heading
        heading: Trees
        icon: mdi:pine-tree
      - type: tile
        entity: switch.tree_left
        name: Left
        features:
          - type: toggle
      - type: tile
        entity: sensor.tree_left_power
        name: Left watts
      - type: tile
        entity: switch.tree_right
        name: Right
        features:
          - type: toggle
      - type: tile
        entity: sensor.tree_right_power
        name: Right watts
      - type: tile
        entity: switch.tree_indoor
        name: Indoor
        features:
          - type: toggle
      - type: tile
        entity: sensor.tree_indoor_power
        name: Indoor watts
  - type: grid
    cards:
      - type: history-graph
        title: Power, last 24 hours
        hours_to_show: 24
        entities:
          - entity: sensor.tree_left_power
            name: Left
          - entity: sensor.tree_right_power
            name: Right
          - entity: sensor.tree_indoor_power
            name: Indoor
      - type: statistics-graph
        title: kWh per day
        chart_type: bar
        period: day
        days_to_show: 30
        stat_types:
          - change
        entities:
          - entity: sensor.christmas_energy_tree_left
            name: Left
          - entity: sensor.christmas_energy_tree_right
            name: Right
          - entity: sensor.christmas_energy_tree_indoor
            name: Indoor
Dashboard: Mushroom, card-mod and ApexCharts version
# Christmas section from the Watts Up dashboard at mklibrary.com.
# Needs Mushroom, card-mod and apexcharts-card from HACS.
# Add a Manual card and paste.
type: vertical-stack
cards:
  - type: custom:mushroom-template-card
    entity: sensor.christmas_energy_cost
    primary: >
      Christmas lights: {% if has_value('sensor.christmas_energy_cost') %}${{ '%.2f' | format(states('sensor.christmas_energy_cost') | float) }}{% else %}--{% endif %} so far
    secondary: >
      {% if has_value('sensor.christmas_energy_total') %}{{ '%.2f' | format(states('sensor.christmas_energy_total') | float) }} kWh{% else %}No reading yet{% endif %}
    icon: mdi:string-lights
    icon_color: "{{ 'green' if is_state('switch.tree_left','on') or is_state('switch.tree_right','on') or is_state('switch.tree_indoor','on') else 'grey' }}"
    layout: horizontal
    tap_action:
      action: more-info
    card_mod:
      style: |
        ha-card {
          background: linear-gradient(135deg, rgba(230,81,0,0.12), rgba(255,143,0,0.06));
          border: 1px solid rgba(255,143,0,0.15);
          border-radius: 12px;
        }
  - type: horizontal-stack
    cards:
      - type: custom:mushroom-template-card
        entity: switch.tree_left
        primary: Left
        secondary: >
          {% set w = 'sensor.tree_left_power' %}{% set e = 'sensor.christmas_energy_tree_left' %}
          {{ (states(w) | float | round(1) ~ ' W') if has_value(w) else '-- W' }} · {{ ('%.2f' | format(states(e) | float) ~ ' kWh') if has_value(e) else '--' }}
        icon: mdi:pine-tree
        icon_color: "{{ 'green' if is_state('switch.tree_left','on') else 'grey' }}"
        tap_action:
          action: more-info
      - type: custom:mushroom-template-card
        entity: switch.tree_right
        primary: Right
        secondary: >
          {% set w = 'sensor.tree_right_power' %}{% set e = 'sensor.christmas_energy_tree_right' %}
          {{ (states(w) | float | round(1) ~ ' W') if has_value(w) else '-- W' }} · {{ ('%.2f' | format(states(e) | float) ~ ' kWh') if has_value(e) else '--' }}
        icon: mdi:pine-tree
        icon_color: "{{ 'green' if is_state('switch.tree_right','on') else 'grey' }}"
        tap_action:
          action: more-info
      - type: custom:mushroom-template-card
        entity: switch.tree_indoor
        primary: Indoor
        secondary: >
          {% set w = 'sensor.tree_indoor_power' %}{% set e = 'sensor.christmas_energy_tree_indoor' %}
          {{ (states(w) | float | round(1) ~ ' W') if has_value(w) else '-- W' }} · {{ ('%.2f' | format(states(e) | float) ~ ' kWh') if has_value(e) else '--' }}
        icon: mdi:pine-tree
        icon_color: "{{ 'green' if is_state('switch.tree_indoor','on') else 'grey' }}"
        tap_action:
          action: more-info
  - type: custom:apexcharts-card
    graph_span: 24h
    header:
      show: true
      title: Christmas power (24h)
      show_states: true
      colorize_states: true
    series:
      - entity: sensor.tree_left_power
        name: Left
        type: area
        color: '#43A047'
        opacity: 0.3
        stroke_width: 2
      - entity: sensor.tree_right_power
        name: Right
        type: area
        color: '#1E88E5'
        opacity: 0.3
        stroke_width: 2
      - entity: sensor.tree_indoor_power
        name: Indoor
        type: area
        color: '#FFB300'
        opacity: 0.3
        stroke_width: 2
  1. Save the package in a packages folder inside your config folder.
  2. Add the packages line shown at the top of the file to configuration.yaml.
  3. Run Check Configuration, then restart.
  4. Set Christmas Electricity Rate. The cost stays unavailable until you do.
  5. To uninstall, delete the file, restart, and remove the leftover unavailable entries under Settings > Devices & services > Entities.

I installed the package on a clean Home Assistant 2026.11.3 with simulated plugs. It passed Check Configuration, the meters kept counting across a monthly reset, and the dark-tree alert, offline alert, schedule, season end and reset all ran. The built-in-cards dashboard loaded. The Mushroom version is adapted from my own dashboard, and I checked its templates there.

Worked Example: My Three Trees

Living room with a lit christmas tree, garland over the fireplace and string lights along the beams
Trees, garland and beam lights indoors can share a plug or get one each.
PlugLightsWatts16-hour night
Tapo P430M, twoTwo 7 ft potted pre-lit LED trees from Costco5.5 each0.088 kWh each
Shelly Plus Plug US, oneBalsam Hill 6.5 ft pre-lit Berkshire Mountain Fir4.40.070 kWh
Watts read in Home Assistant on November 29, 2026. Nightly kWh is watts × 16 hours ÷ 1,000.

Each Tapo plug logged 0.087 to 0.088 kWh on every full day from November 25 through 28.

One Night on a Tapo P430MHourly average power of the left garage tree from noon November 28 to noon November 29, 2026: 0 watts until 4 p.m., about 5.5 watts until 8 a.m., then 0.One Night on a Tapo P430M0 W2 W4 W6 W4 p.m.midnight8 a.m.
Garage Left, hourly average in Home Assistant, noon November 28 to noon November 29, 2026.

Together the trees draw 15.4 watts, and the dashboard projects 10.3 kWh and $1.33 for the season at my 12.95-cent rate. The chart puts them beside older lights, all at the national average.

Season Cost: 45 Nights, 6 Hours a NightMy 6.5 ft indoor LED tree (measured 4.4 W): $0.22; My 7 ft potted LED tree (measured 5.5 W): $0.27; All three of my trees (measured 15.4 W): $0.76; 100-light incandescent string (40 W): $1.96; 600-light LED tree (60 W): $2.94; 600-light incandescent tree (240 W): $11.77.Season Cost: 45 Nights, 6 Hours a NightMy 6.5 ft indoor LED tree (measured 4.4 W)$0.22My 7 ft potted LED tree (measured 5.5 W)$0.27All three of my trees (measured 15.4 W)$0.76100-light incandescent string (40 W)$1.96600-light LED tree (60 W)$2.94600-light incandescent tree (240 W)$11.77
Evergreen bars are my plug readings. Gold bars use EnergySage wattages. All at 18.17 cents per kWh.

On November 23, the day I set up the power check, its template flagged the right-hand tree: the plug was on and drawing 0 watts.

Check two settings on a Shelly. The current Gen4 plug is rated for 15 amps and 1,800 watts of resistive load. My Plus Plug US was set to stay off after an outage, and its limits read 16 amps and 4,480 watts on a 15-amp plug. I changed them to restore the last state and to 15 amps and 1,800 watts.

How to Use the Numbers

Lit christmas tree beside a stone fireplace at the wawona hotel in yosemite
The Christmas tree and fireplace at the Wawona Hotel in Yosemite.

Start with the largest load. Cutting a 240-watt incandescent tree from 16 hours to 6 saves $19.62 over 45 nights at the national average. Replacing it with a 60-watt LED tree saves $8.83 even at 6 hours.

LED Swap Calculator

Calculator

LED Swap Payback

Uses the hours, nights and price from the cost calculator.

Saves $8.83 a season
Pays for itself in 11.3 seasons

A plug will not pay for itself on LED trees. Mine cost $16.99 and the tree on it uses $0.72 of electricity in 45 nights of 16 hours. I keep it for the schedule and the alerts.

Frequently Asked Questions

How do I calculate the cost of running Christmas lights?

Multiply watts by the hours you run them, divide by 1,000 to get kWh, and multiply by your price per kWh. A 40-watt string run 6 hours a night for 45 nights uses 10.8 kWh, or $1.96 at 18.17 cents.

How can I measure how much electricity my Christmas lights use?

Plug them into a smart plug with energy monitoring and read the kWh after a full night. Multiply that by the nights in your season.

Do Christmas lights use a lot of electricity?

LED lights use little. EnergySage puts 100 LEDs at 5 to 10 watts and 100 incandescent bulbs at 40. My three pre-lit LED trees measured 15.4 watts together.

How much do Christmas lights add to your electric bill?

At the U.S. average of 18.17 cents per kWh, a 100-light incandescent string run 6 hours a night for 45 nights adds $1.96. A 100-light LED string adds 25 to 49 cents.

How many watts do Christmas lights use?

A string of 100 incandescent lights uses about 40 watts and 100 LEDs use 5 to 10, according to EnergySage. The tag near the plug gives the rating for your set.

How much does it cost to leave a Christmas tree on all night?

My 7-foot pre-lit LED tree uses 0.088 kWh in a 16-hour night, under 2 cents at the national average. A 240-watt incandescent tree costs about 70 cents for the same night.

How do I track energy cost in Home Assistant?

Create a Utility Meter helper from the plug’s kWh sensor, a Number helper for your rate, and a Template sensor that multiplies them.

Does the Tapo P430M work with Home Assistant?

Yes. Mine run through the TP-Link integration with watts, volts, amps, and daily and monthly kWh. You sign in with a TP-Link account to unlock local control.

What is the best smart plug for outdoor Christmas lights?

I use the Tapo P430M because it is rated IP65, measures energy and works with Home Assistant over Wi-Fi. Its limit is 150 watts of LED or 300 watts of incandescent, so a larger display needs a higher-rated plug.

Can I use an indoor smart plug outside?

No. Use a plug with an outdoor weather rating such as IP64 or IP65, and keep it within its listed temperature range.

When the tree comes down, see Christmas tree recycling in Sacramento. For a cut tree, the guide to real Christmas trees covers care. The ecobee thermostat and Sonos articles cover more of my Home Assistant setup.

Affiliate Disclosure: Some links in this article are affiliate links. As an Amazon Associate I earn from qualifying purchases.

Article Updates

  • November 30, 2026: Added state prices, the display planner, time-of-day and LED swap calculators, and new charts.
  • November 29, 2026: Added a cost calculator, more plugs and hubs, and the package install test.
  • November 29, 2026: Reorganized as a step-by-step guide to calculating, measuring and tracking the cost in Home Assistant.
  • November 29, 2026: Original publication.
Michael Kahn

About the Author

Michael Kahn

Founder & Editor

I write about the things I actually spend my time on: home projects that never go as planned, food worth traveling for, and figuring out which plants will survive my Northern California garden. When I'm not writing, I'm probably on a paddle board (I race competitively), exploring a new city for the food scene, or reminding people that I've raced both camels and ostriches and won both. All true. MK Library is where I share what I've learned the hard way, from real costs and real mistakes to the occasional thing that actually worked on the first try. Full Bio.

If you buy something from a MK Library link, I may earn a commission.

Leave a Comment

Share to...