You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -290,6 +290,28 @@ Here are the available parameters for this Lovelace card.
290
290
| `cheap_times` | boolean | `false` | The card highlights the cheapest times of the day in graph and the phases are displayed in text form. <ul><li>Prices are analyzed <strong>per day</strong>, so each day is evaluated on its own.</li><li>For each day, prices are normalized using a relative scale: <code>relative price = (price - daily minimum) / (daily maximum - daily minimum)</code>.</li><li>The <strong>lowest ~25%</strong> of all intervals for that day are considered <em>cheap</em>.</li><li>Consecutive cheap intervals are grouped into longer time phases.</li><li>Only <strong>future</strong> phases are shown, and only if they last <strong>at least 1 hour</strong>.</li></ul> |
291
291
| `cheap_time_sources` | array of strings | `undefined` | Optional and only available in yaml mode. If `cheap_times: true` is set, you can provide a list of sensors/entity IDs to define the cheap time periods manually instead of letting the card calculate them automatically. This is useful if you already use helpers from the [ha_epex_spot_sensor](https://github.com/mampfes/ha_epex_spot_sensor) add-on – you can pass those sensor IDs here to display their cheap periods directly.|
292
292
293
+
---
294
+
### Actions
295
+
| Name | Type | Default | Description |
296
+
|------------|---------|---------|-------------|
297
+
| `tap_action` | object | `undefined` | Optional action when tapping the card. See [Home Assistant Actions](https://www.home-assistant.io/dashboards/actions/). Supported actions: `more-info`, `toggle`, `call-service`, `navigate`, `url`, `assist`. Requires `tap_target` for entity-based actions. |
298
+
| `tap_target` | string | `undefined` | The entity ID that is the target of the `tap_action`. Required for entity-based actions (`toggle`, `more-info`, `call-service`). Not needed for navigation/url actions. |
0 commit comments