-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Added option to sort individual devices by power usage and have… #700
base: main
Are you sure you want to change the base?
Conversation
… more than 4 devices
@SveLil Do you have the power-flow-card-plus.js so I can test it? |
power-flow-card-plus.js.txt |
@flixlix I can confirm it works. |
This would be great! I never need to show more than 4 devices at once, as I only have high power devices defined and don't have them all on at once. |
@flixlix any plans to merge & release this feature? |
Great pull request & feature can't wait to use it! |
Hi |
The goal is to display the 4 most consumers not all. |
@SveLil : First of all thanks! Great extension. However I've run some tests on my non-productive system and maybe found a bug I've made 5 template sensors (device class: power / state class: measurements / power 1 - power 5, with fixed values 50W, 40W .. 10W), sort enabled, and depending on the order in the configuration the number of displayed items changes. Please see attached the two different situations. I'm not sure if this is just on my system. |
Some additional comment: |
@mascheihei |
@TheSmartGerman : Well I'm not a expert too: However let me explain my steps: enjoy, you can now configure more than 4 sources in the UI-Editor |
thx. I was missing the js file. didn't saw the file above. works great for me. just added 12 individuals. very nice! |
@mascheihei I will look into it, currently swamped with work |
@SveLil with sorting enabled the item color doesn't work correctly either, it seems as though the color is fixed to the location within the card rather than the item. |
would it be possible, to add a option, to ignore loads below a certain power e.g. 50W |
this will allow the configuration of more than 4 devices and the sorting of devices by power usage. If more than 4 devices are configured and sorting is enabled, only the top 4 are shown.
Fixed #578 #680 #602