โ ๏ธ Not affiliated with Tibber This is an independent, community-maintained custom integration for Home Assistant. It is not an official Tibber product and is not affiliated with or endorsed by Tibber AS.
The most comprehensive Tibber price integration for Home Assistant. Get 100+ sensors with quarter-hourly precision, intelligent best/peak price period detection, price forecasts, trend analysis, volatility tracking, and beautiful chart visualizations - all from a single integration. Automate your energy consumption like a pro.
๐ Complete Documentation โ Installation, guides, examples, and full sensor reference:
- ๐ค User Documentation โ Setup, sensors, automations, dashboards
- ๐ง Developer Documentation โ Architecture, contributing, development
Quick Links: Installation ยท Sensor Reference ยท Charts ยท Automations ยท FAQ ยท Changelog
Most Tibber integrations give you a single price sensor. This one gives you a complete energy optimization toolkit:
- Quarter-hourly precision โ 15-minute interval prices, not just hourly averages
- Price forecasts โ See average prices for the next 1h, 2h, 3h, ... up to 12h ahead
- Trend analysis โ Know if prices are rising, falling, or stable โ and when the next trend change happens
- Price trajectory โ Detect turning points before they happen (first-half vs second-half window comparison)
- Price outlook โ Instantly see if the next hours will be cheaper or more expensive than now
- Best Price & Peak Price Periods โ Intelligent binary sensors that detect the cheapest and most expensive periods of the day, with configurable flexibility, relaxation strategies, and gap tolerance (how it works)
- Period timing sensors โ Duration, end time, remaining minutes, progress percentage, and countdown to next period โ everything you need for advanced automations
- Runtime configuration โ Adjust period detection parameters on the fly via switches and number entities, without restarting โ perfect for automations that adapt to your schedule
- 5-level price classification โ VERY_CHEAP, CHEAP, NORMAL, EXPENSIVE, VERY_EXPENSIVE from Tibber's API
- 3-level price ratings โ LOW, NORMAL, HIGH based on 24h trailing average comparison
- Auto-generated ApexCharts โ One action call generates a complete chart configuration with dynamic Y-axis scaling and color-coded price levels (see examples)
- Dynamic icons & colors โ Every sensor adapts its icon and color to the current price state โ cheap prices glow green, expensive ones turn red (icon guide)
- Chart data export โ Flexible data API with filtering, resolution control, and multiple output formats for any visualization card
- Volatility analysis โ Know if today's prices are stable or wild (low/moderate/high/very_high)
- Daily & rolling statistics โ Min, max, average, median for today, tomorrow, trailing 24h, and leading 24h
- Energy & tax breakdown โ See spot price vs. tax components as sensor attributes
- Multi-currency support โ EUR, NOK, SEK, DKK, USD, GBP with configurable base/subunit display (โฌ vs ct, kr vs รธre)
- Intelligent caching โ Multi-layer caching minimizes API calls, survives HA restarts, auto-invalidates at midnight
- High-performance interval pool โ O(1) timestamp lookups, gap detection, auto-fetching of missing data
- Quarter-hour precision updates โ Sensors refresh at :00/:15/:30/:45 boundaries, independent of API polling
- Official API only โ Uses Tibber's
priceInfoandpriceInfoRangeendpoints. All ratings and statistics are calculated locally.
Prerequisites: HACS (Home Assistant Community Store) must be installed.
- Click "Download" to install
- Restart Home Assistant
- Enter your Tibber API token (get one here)
- Select your Tibber home
- Configure price thresholds (optional โ sensible defaults are provided)
Or manually: Settings โ Devices & Services โ + Add Integration โ search "Tibber Price Information & Ratings"
- 100+ sensors are now available (key sensors enabled by default, advanced ones ready to enable)
- Explore entities in Settings โ Devices & Services โ Tibber Price Information & Ratings
- Start building automations, dashboards, and energy-saving workflows
๐ Full Installation Guide โ
The integration provides 100+ entities across sensors, binary sensors, switches, and number entities. Here are the highlights โ all key sensors are enabled by default:
| Category | Highlights | Count |
|---|---|---|
| ๐ฐ Prices | Current, next & previous interval price + rolling hour averages | 6+ |
| ๐ Statistics | Daily min/max/avg for today & tomorrow, 24h trailing & leading windows | 12+ |
| ๐ฎ Forecasts | Next 1hโ12h average prices, price outlook & trajectory sensors | 20+ |
| ๐ Trends | Current trend direction, next trend change time & countdown | 3 |
| ๐ Volatility | Today, tomorrow, next 24h & combined volatility levels | 4 |
| ๐ท๏ธ Levels & Ratings | 5-level (API) and 3-level (computed) classification per interval, hour & day | 12+ |
| โฐ Period Timing | Best/peak: end time, duration, remaining, progress, next start | 10+ |
| ๐ Binary Sensors | Best price period, peak price period, tomorrow data available, API connection | 4+ |
| ๐๏ธ Runtime Config | Switches & numbers to adjust period detection live โ no restart needed | 14 |
| ๐ง Diagnostics | Data lifecycle status, home metadata, grid info, subscription status | 15+ |
Every sensor includes rich attributes โ timestamps, detailed descriptions, and context data. Enable Extended Descriptions in the integration options to get
long_descriptionandusage_tipson every entity.
๐ Complete Sensor Reference โ โ All entities with descriptions, attributes, and multi-language lookup
See the full automation examples guide for more recipes.
Run appliances when electricity is cheapest:
automation:
- alias: "Start Dishwasher During Best Price Period"
trigger:
- platform: state
entity_id: binary_sensor.tibber_best_price_period
to: "on"
action:
- action: switch.turn_on
target:
entity_id: switch.dishwasherReduce heating when prices spike above average:
automation:
- alias: "Reduce Heating During High Prices"
trigger:
- platform: numeric_state
entity_id: sensor.tibber_current_interval_price_rating
above: 20 # More than 20% above 24h average
action:
- action: climate.set_temperature
target:
entity_id: climate.living_room
data:
temperature: 19๐ More automations โ โ EV charging, heat pump control, price notifications, and more
Generate beautiful price charts with a single action call โ dynamic Y-axis, color-coded price levels, and multiple chart modes included.
๐ Chart examples & setup โ | Actions reference โ
- ๐ FAQ โ Common questions answered
- ๐ง Troubleshooting โ Solving common issues
- ๐ Report an Issue โ Found a bug? Let us know
Contributions are welcome! See the Contributing Guidelines and Developer Documentation to get started.
- Developer Setup โ DevContainer-based development environment
- Architecture Guide โ Understand the codebase
- Release Management โ Release process and versioning
This integration is developed with extensive AI assistance (GitHub Copilot, Claude, and other AI tools). While AI enables rapid development, it's possible that some edge cases haven't been discovered yet. If you encounter any issues, please open an issue โ we'll fix them (with AI help, of course! ๐).
Quality is ensured through automated linting (Ruff), static type checking (Pyright), and real-world testing.
This project is licensed under the MIT License โ see the LICENSE file for details.

