π± Currency Display
Settings β Devices & Services β Tibber Prices β Configure β π± Currency Display
Display Modeβ
Choose whether price sensor states show values in base currency or subunit:
| Mode | Example | Smart default |
|---|---|---|
| Base currency | 0.2534 β¬/kWh, 2.53 kr/kWh | NOK, SEK, DKK |
| Subunit (default for EUR) | 25.34 ct/kWh, 25.3 ΓΈre/kWh | EUR |
The smart default is automatically applied when you first set up the integration based on your Tibber account currency.
Switching the display mode later changes all price sensor state values (e.g., 25.34 β 0.2534). This will break:
- Numeric thresholds in automations and conditions
- Template sensors and conditional cards with hardcoded values
If you do switch later:
- A repair notification from this integration appears immediately in your sidebar β it reminds you to update automations and dashboards.
- HA's Recorder detects the unit mismatch and shows a "The unit has changed" dialog (may take a few minutes or until the next statistics run). Choose "Delete all old statistic data" to start fresh. Do not choose "Update the unit without converting" β that re-labels old numbers with the new unit, making historical values factually wrong.
- Update every automation trigger and condition with a numeric price value.
- Update dashboard cards with hardcoded thresholds or unit labels.
Price Precision and Roundingβ
All prices are received from the Tibber API in base currency and processed without loss of precision. The sensor state value is rounded and stored as follows:
| Display Mode | Stored precision | Example |
|---|---|---|
| Subunit (ct, ΓΈre) | 2 decimal places | 25.34 ct/kWh |
| Base currency (β¬, kr) | 4 decimal places | 0.2534 β¬/kWh |
This applies to both sensor states and attributes (e.g., energy_price, price_mean, price_min).
Default display precisionβ
Home Assistant shows fewer decimals than the stored value by default β enough for a quick glance. The integration sets these defaults per sensor type:
| Sensor type | Subunit default | Base currency default |
|---|---|---|
| Current / Next / Previous interval price | 2 decimals (25.34 ct) | 4 decimals (0.2534 β¬) |
| All other price sensors (averages, min/max, β¦) | 1 decimal (25.3 ct) | 2 decimals (0.25 β¬) |
| Energy Dashboard sensor | β | 4 decimals (always) |
You can override the displayed precision per entity in the HA UI:
- Go to Settings β Devices & Services β Entities
- Select a price sensor β click the gear icon
- Change Display precision to your preference
Practical ceiling: Subunit values have exactly 2 decimal places stored β setting more than 2 shows trailing zeros. Base currency values have 4 decimal places stored β 3β4 decimals are meaningful.
π¬ 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.