Enhancement Ideas: Widget Functionality and Layout Improvements
Hello,
First and foremost, I want to express my gratitude for creating this fantastic widget.
I've noticed a couple of things and have some feedback:
- Currently, I can only use one widget at a time, as the other one keeps on spinning, even though both are configured with the same URL and Token. In case I need to use a different token per widget(?), this should be documented somewhere.
- It would be fantastic if we could resize widget 2️⃣/3️⃣, similar to how we can with widget 1️⃣ (or if the height of the widget is being automatically adjusted based on the number of entities). As you can see, I currently only need to control two entities, so there's a considerable amount of wasted space.
- I'd appreciate the ability to change the view so that all my entities span the entire width, mirroring the layout in 1️⃣, rather than creating a horizontal stack as seen in 3️⃣.
For the README:
Use
1) Enter the URL of the Home Assistant instance
2) Create Long Lived Access Token on your Home Assistant Profile page (https://<your_ha_address>/profile) and put it in the plasmoid configuration
3) Add entities
Maybe add a 4) step: "reboot", "login / logout" or kquitapp5 plasmashell && kstart5 plasmashell since I had to do one of those things in order to make my entities appear.
Kind regards, Moritz
Thank you for your feedback.
- I am aware of this - it has been on my mind for some time.
- (3). I'm considering a more customizable layout but for now you should be able to achieve this (if you are using Plasma 5.26 or later) by resizing the widget:
https://github.com/korapp/plasma-homeassistant/assets/3818002/0c8c1b64-67b4-408a-9728-6cd7157e4fab
It shouldn't be necessary to re-initialize the plasma, so this may be a bug. I'll investigate it.
for now you should be able to achieve this (if you are using Plasma 5.26 or later) by resizing the widget
You are absolutely right! Thank you for the video. I am running Plasma 5.27.9
Should I close this issue? Aside from 1. (which you are already ware of), you provided a nice workaround for the other "issues". Thank you :).
I experience the same issue. I added it as desktop widget first and it worked fine. Then I wanted to add a widget to my taskbar and it just opened a popup with a spinner. Even after deleting the desktop widget, en readding the taskbar widget it's the same.
Please check if the problem still occurs in v0.3.0.
Please check if the problem still occurs in v0.3.0.
Thank you so much for your work. I can confirm that two widgets at the same time are working now!