Skip to main content
Version: Next 🚧

Timing Sensors

Entity ID tip

<home_name> is a placeholder for your Tibber home display name in Home Assistant. Entity IDs are derived from the displayed name (localized), so the exact slug may differ. Can't find a sensor? Use the Entity Reference (All Languages) to search by name in your language.

Timing sensors provide real-time information about Best Price and Peak Price periods: when they start, end, how long they last, and your progress through them.

IDLE = waiting for next period (shows countdown via next_in_minutes). ACTIVE = inside a period (shows progress 0–100% and remaining_minutes). GRACE = short buffer after a period ends, allowing back-to-back periods to merge seamlessly.

Available Timing Sensors​

For each period type (Best Price and Peak Price):

SensorWhen Period ActiveWhen No Active Period
End TimeCurrent period's end timeNext period's end time
Period DurationCurrent period length (minutes)Next period length
Remaining MinutesMinutes until current period ends0
Progress0–100% through current period0
Next Start TimeWhen next-next period startsWhen next period starts
Next In MinutesMinutes to next-next periodMinutes to next period
"Unknown" during an active period is normal

While a period is active, Next Start Time and Next In Minutes look for the period after the current one. If no further period exists (for example, because tomorrow's prices are not published yet), there is nothing to show and both sensors report "Unknown". The same applies to the Peak Price counterparts. They fill in automatically once a further period is found. See Troubleshooting.

Usage Examples​

Show Countdown to Next Cheap Window​

Show YAML: Countdown to Next Cheap Window
type: custom:mushroom-entity-card
entity: sensor.<home_name>_best_price_next_in_minutes
name: Next Cheap Window
icon: mdi:clock-fast

Display Period Progress Bar​

Show YAML: Display Period Progress Bar
type: custom:bar-card
entity: sensor.<home_name>_best_price_progress
name: Best Price Progress
min: 0
max: 100
severity:
- from: 0
to: 50
color: green
- from: 50
to: 80
color: orange
- from: 80
to: 100
color: red

Notify When Period Is Almost Over​

Show YAML: Period Ending Notification
automation:
- alias: "Warn: Best Price Ending Soon"
trigger:
- platform: numeric_state
entity_id: sensor.<home_name>_best_price_remaining_minutes
below: 15
condition:
- condition: numeric_state
entity_id: sensor.<home_name>_best_price_remaining_minutes
above: 0
action:
- service: notify.mobile_app
data:
title: "Best Price Ending Soon"
message: "Only {{ states('sensor.<home_name>_best_price_remaining_minutes') }} minutes left!"

💬 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.