Skip to content

v1.8.0 — Pin card to account/bike for side-by-side comparison

Choose a tag to compare

@Xunil99 Xunil99 released this 28 Apr 19:23
· 296 commits to main since this release

Pin a card to one specific account or bike

Both `bosch-ebike-map-card` and `bosch-ebike-heatmap-card` now accept three new configuration options:

  • `account_id` — locks the card to one configured Bosch account
  • `bike_id` — locks the card to one specific bike
  • `title` — overrides the card header text

When a lock is set, the corresponding dropdown is hidden in the card and the filter cannot be changed at runtime. Multiple locked cards can be arranged side-by-side via the standard `horizontal-stack` pattern — for example to compare two rides taken on the same day with two different bikes:

```yaml
type: horizontal-stack
cards:

  • type: custom:bosch-ebike-map-card
    height: 400
    title: "My bike"
    account_id: <config_entry_id_account_a>
  • type: custom:bosch-ebike-map-card
    height: 400
    title: "Partner's bike"
    account_id: <config_entry_id_account_b>
    ```

Both cards then always show rides of their locked account / bike and can be navigated independently with the date and sort controls.

Graphical card editor

Click the pencil icon in the card configuration UI and you'll see a proper editor with dropdowns for account and bike — no need to look up IDs manually. Selecting an account auto-narrows the bike dropdown to that account's bikes. The editor is available for both card types.

Installation

Update via HACS, restart Home Assistant, hard-refresh the browser (Ctrl+Shift+R / ⌘⇧R).