Skip to main content
Version: Next 🚧

Actions Overview

Tibber Prices provides actions (formerly called "services") that you can use in automations, scripts, and dashboards. Home Assistant surfaces them in Developer Tools → Actions and in the automation/script editor.

Behind the scenes, YAML still uses the service: key — but the UI calls them "actions".

Finding Your Config Entry ID

Most actions accept an optional entry_id parameter that identifies the config entry (= integration instance) of the Tibber home you want to query. If you only have one home configured, you can omit entry_id entirely — the integration auto-selects your only config entry. If you have multiple homes, you need to specify which one.

In the Action UI — no lookup needed

When you use the action through the Home Assistant interface (Developer Tools → Actions, or the Action picker inside the automation / script editor), the entry_id field renders as a dropdown list showing all your configured Tibber Prices instances. Just select your home from the drop-down and Home Assistant fills in the correct ID automatically. You never have to deal with the raw ID string.

In YAML — copy from the integration menu

When you write YAML directly (automations, scripts, Lovelace dashboard cards), you need the actual ID string. The quickest way to get it:

  1. Go to Settings → Devices & Services
  2. Find the Tibber Prices integration card
  3. Click the (three-dot) menu on the card
  4. Choose "Copy Config Entry ID"
  5. Paste the value wherever you see YOUR_CONFIG_ENTRY_ID in the YAML examples

The ID looks like a long alphanumeric string, for example 01JKPC7AB3EF4GH5IJ6KL7MN8P.

Multiple homes?

If you have configured more than one Tibber home, each home has its own config entry ID. Repeat the steps above for each integration card to get the individual IDs.

All Actions at a Glance

Scheduling Actions

Find the cheapest (or most expensive) time windows for your appliances. Ideal for automating when to run devices based on real price data.

ActionDescriptionBest For
find_cheapest_blockCheapest contiguous windowDishwasher, washing machine, dryer
find_cheapest_hoursCheapest N hours (non-contiguous OK)EV charging, battery storage, pool pump
find_cheapest_scheduleMultiple appliances, no overlapDishwasher + washing machine overnight
find_most_expensive_blockMost expensive contiguous windowPeak avoidance, battery discharge
find_most_expensive_hoursMost expensive N hoursDemand response, consumption shifting
plan_chargingBattery/EV schedule from SoC + powerHome battery, EV, deadline-aware charging

Scheduling Actions — Full Guide with parameters, response formats, decision flowchart, and automation examples. Plan Charging Action — Guide for battery/EV charging scheduled from SoC and power (not duration).

Chart & Visualization Actions

Generate chart-ready data and ApexCharts configurations for your dashboards.

ActionDescription
get_chartdataPrice data in chart-friendly formats (arrays, filtering, rolling windows)
get_apexcharts_yamlAuto-generated ApexCharts card configuration with color-coded price levels

Chart & Visualization Actions — Full Guide with parameters, examples, rolling window modes, and migration guide.

Data & Utility Actions

Fetch raw price data or refresh cached information.

ActionDescription
get_priceFetch raw price intervals for any time range (with intelligent caching)
refresh_user_dataForce-refresh user data (homes, subscriptions) from Tibber API

Data & Utility Actions — Full Guide with parameters and response formats.

💬 Comments are page-specific. For a new question or idea, open a dedicated Discussion on GitHub so it gets its own thread and proper visibility.