Skip to content
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

[SUPPORT] Unit white space, individual entities? #568

Closed
xsirpreisx opened this issue Apr 16, 2024 · 9 comments
Closed

[SUPPORT] Unit white space, individual entities? #568

xsirpreisx opened this issue Apr 16, 2024 · 9 comments
Labels
support Author needs help with configuration

Comments

@xsirpreisx
Copy link
Contributor

Hi there,

awesome how far this thing has come. I've been using "my" version for a long time now without any changes, and only today removed that and upgraded to your latest version. Great work!

Only one thing I haven't been able to understand. Why is there no whitespace between value and unit for my individual entities?

image

There are switches to add white spaces for secondary information, but not for the entity itself. What am I missing? Is that because the two entities I created are setup like this:

image

and this:

image

Thanks in advance!

@xsirpreisx xsirpreisx added the support Author needs help with configuration label Apr 16, 2024
@flixlix
Copy link
Owner

flixlix commented Apr 16, 2024

Yeah, this is a feature I need to add for 0.2.2

@dr3amr
Copy link

dr3amr commented Apr 16, 2024

@flixlix Also seems unit_white_space is default false, and not true (as mentioned in documentation) for individual and secondary info.

@flixlix
Copy link
Owner

flixlix commented Apr 21, 2024

fixed in #590

@flixlix flixlix closed this as completed Apr 21, 2024
@xsirpreisx
Copy link
Contributor Author

Thanks. I updated, but I currently don't have a white space just yet. I don't see an option for that either. What am I missing?

@flixlix
Copy link
Owner

flixlix commented Apr 21, 2024

@xsirpreisx have you tried clearing your cache?

https://how-can-i.luca-felix.com/clear-cache

Which version is currently shown in your browser console?

Edit: yes, there should be an option to toggle the whitespace

@xsirpreisx
Copy link
Contributor Author

Yea, I cleaned my cache, but that didn't change anything.

I guess the option to toggle the whitespace would be found in the Individual configuration?

image

Note there for me yet.

0.2.2 seems to be installed:

image

@flixlix
Copy link
Owner

flixlix commented Apr 22, 2024

Weird, not sure what happened there, uplodaded this new file. For some reason this branch wasn't built for 0.2.2 before.

Here is the file:
power-flow-card-plus.js.zip

@xsirpreisx
Copy link
Contributor Author

Yea, using that file now it works, thanks!

image

One more question: Secondary information when 0 does not seem to display the unit. Is that to be expected? See screenshot above ("Auto"). "0 kWh" would look much better. :-)

@dr3amr
Copy link

dr3amr commented Apr 22, 2024

One more question: Secondary information when 0 does not seem to display the unit. Is that to be expected? See screenshot above ("Auto"). "0 kWh" would look much better. :-)

Same issue here, unit_of_measurement not displayed when value is 0 (display_zero: true).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Author needs help with configuration
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants