[Feature request] Display entity values in panel
Opened this issue · 2 comments
Is your feature request related to a problem? Please describe.
I would like to be able to see entities (e.g. weather) at a glance at all times.
Describe the solution you'd like
I'd like to be able to see entity values when the widget is pinned to a panel (e.g. top menu bar or bottom task manager panel). The widget can currently be placed in a panel, but it collapses to a single button that must be pressed to open a flyout listing entities.
Describe alternatives you've considered
I can't think of any alternatives.
Additional context
n/a
this would make the thing actually useful
Doing a bit more investigation. I'm not a dev, but it looks like KDE widgets have two versions: a compact representation, invoked when the available height or width is less than a threshold (Plasmoid.switchHeight and Plasmoid.switchWidth), and a full representation that is shown otherwise.
The compact representation consists of just the Home Assistant icon. Attaining the desired behavior could be accomplished by rewriting ./package/contents/ui/CompactRepresentation.qml, but that's out of my skillset.
If I set switchHeight/switchWidth to 0, I can resize the widget on my desktop as small as it will go without triggering the compact representation. However, the widget in my Task Manager remains the compact representation. Not really sure why this didn't work. I think rewriting CompactRepresentation.qml is really what's needed but I'm having trouble following KDE's documentation. Maybe I'll eventually revisit this.