Skip to content

v1.7.0 ESPHome BLE Keyboard

Choose a tag to compare

@markusg1234 markusg1234 released this 07 Aug 12:05
· 104 commits to main since this release

Added

  • A paste bar on the web keyboard and the keyboard card — in the web page's keyboard
    header, and on its own line above the card's keys. Paste or type any text and send it as
    one piece instead of tapping it out key by key; multi-line text keeps its line breaks. An
    optional auto mode types text the moment it is pasted, and on HTTPS a clipboard button
    sends the clipboard in one tap. The card can hide the bar via a new editor toggle.
  • Press and hold: a key now stays down on the host for as long as the button is held.
    Every keypress used to arrive as a short tap however long the button was held, so
    push-to-talk was impossible. Set it per physical key with the new hold and release
    automation actions, or per remote button per host in the new Press and hold panel; the
    Media Remote card needs the new hold_buttons sensor. max_key_hold_ms guards against
    a release that never arrives.
  • The Media Remote card now follows the per-host hold-to-repeat settings, via a new
    repeat_buttons text sensor. It previously repeated volume and channel only, at a fixed
    speed, ignoring whatever Host Actions said — so a host set to repeat the D-pad did so on
    the web remote but not the card.
  • A text sensor for the connected host's Bluetooth address, so an automation can act on
    which machine is connected rather than just which slot is active. It reports the host's
    stable identity where one was exchanged at pairing, so it keeps working on phones, whose
    connection address rotates every few minutes. Hosts with a fixed address report that
    address unchanged. The web remote's host buttons and the cards show the same address, so
    a phone no longer appears under one address in the web UI and another in the sensor. Each
    host slot remembers its identity the next time that host connects, so an existing pairing
    starts showing the right address on its own — there is no need to pair it again.
  • A bonded host slot now belongs to its host until you forget it. A different device that
    pairs while that slot is active is disconnected and its bond removed, instead of quietly
    taking the slot over — which mattered most on Android, where pairing has no PIN and nothing
    stopped the last device to pair from claiming the slot. Your own host is matched by identity,
    so it is still let back in after its address rotates or you re-pair it.
  • A zoom option on all three cards, in the visual editor's Config tab (0.25–3, default
    1). It scales the whole card — buttons, text and spacing together — so you can shrink one
    to fit a smaller space or enlarge it for a wall tablet. The card's height follows the zoom,
    so zoom: 0.55 brings the full media remote down to about 8 rows, which is as short as
    HA's height slider goes. Everything scales by the same factor in both directions, so the
    buttons keep their shape at any zoom, and a zoomed-in card scrolls rather than squashing.
  • All three Lovelace cards support resizing in sections dashboards. They keep their
    natural size by default, as before — but the Layout tab now offers sensible width and
    height ranges (1–12 columns, 1–8 rows) instead of warning that the card can't be resized.
    Cards keep their proportions at whatever size you pick and scroll if the card is smaller
    than they are; use zoom to change how big the controls actually are.
  • The mouse and keyboard cards scroll as one piece when narrowed. Previously only the
    title row kept its full width while the keys and the touchpad shrank to whatever was
    visible, so scrolling sideways dragged a squashed keyboard out of view and clipped key
    labels. Every part of the card now shares the same width and scrolls together, at full
    size. To actually make a card smaller rather than scroll it, lower its zoom.

Fixed

  • The hidden-buttons sensor was empty until the first host switch. It published before
    the saved lists were read from flash and never again, so a card starting up was told the
    host hid nothing. The new hold and repeat sensors publish on the same path.

Changed

  • The media remote's buttons stay centred in a 460px column on wide cards, instead of
    spreading out with the power button stranded at the far edge. Only visible in panel view
    or a wide masonry column; sections cap at 500px, so they look unchanged.
  • Forget Host moved into the Host Actions card, on the same row as the host picker, and
    it now forgets the slot the picker shows rather than always the active host — so a host
    that isn't currently connected can be forgotten too. The host bar at the top is host buttons
    only. Still two taps (Confirm?, disarming after three seconds or when you change slot).
    This also puts it on single-slot devices, which never had it: the host bar hides itself
    below two slots, while the Host Actions card is always shown.
  • Both editors' save buttons now read Save — the Macros button was + Add (becoming
    Save mid-edit) and the Host Actions one was + Set. The Macros label no longer changes
    to signal add-versus-update; the populated Name and Action fields are the cue instead.
  • The Host Actions replacement box is a 3-line textarea, matching the Macros action box,
    so a long chained action is readable without scrolling through a single-line field. Both
    action boxes are also wider than the name box beside them, and the two preset dropdowns are
    now a matched width.
  • The host bar fills the card width, five hosts per row, dividing the space evenly instead
    of leaving a lopsided gap at the right; a short final row stays left-aligned under the one
    above. The toolbar's section toggles likewise stretch to reach the right-hand edge.