Skip to content

Listen to icon pickers directly and order buttons like a fader for 0.2.0b2 - #12

Merged
MadisonMedia merged 1 commit into
mainfrom
icons-and-order-b2
Nov 11, 2026
Merged

MadisonMedia merged 1 commit into
mainfrom
icons-and-order-b2

Conversation

@MadisonMedia

Copy link
Copy Markdown
Owner

Icon pickers, button order beside the control and the glow, for 0.2.0b2.

Fixed

  • Icons for buttons can be chosen again, in the card editor and for the standard buttons on the setup page. Home Assistant's icon picker reports its choice only on itself, and Crescendo listened one level higher, so the choice never arrived and the editor's save button stayed off.

Changed

  • Beside the control, buttons stand like a fader: the last one at the top, the first at the bottom, and the power button below them all. Above or below the control they keep their order from left to right, with the power button first.
  • The light glow around and inside the card is gone, together with its setting.

The frontend harness now fires the picker's event the way Home Assistant does (bubbles: false, composed: false) and checks the button order in both layouts.

…2.0b2

Home Assistant's icon picker fires value-changed without bubbling, so
the listeners on the shadow root never heard a choice. The card editor
and the setup page now listen on each picker.

Beside the control, buttons are shown in reverse order with the power
button at the bottom, matching a fader that is brightest at the top.
The glow and its setting are removed.
@MadisonMedia
MadisonMedia merged commit f084844 into main Nov 11, 2026
6 checks passed
@MadisonMedia
MadisonMedia deleted the icons-and-order-b2 branch November 11, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant