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

Percentage change and lovelace cards #6

Open
deergitseason opened this issue Feb 11, 2025 · 4 comments
Open

Percentage change and lovelace cards #6

deergitseason opened this issue Feb 11, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@deergitseason
Copy link

Hello, I was wondering how the percentage change entity worked, as mine is currently showing as 0.00%

FWIW, I set my portfolio up last evening after market close. It's updating properly at the moment, except for the %.

On a related question, is there a way to show the +/- for the day?

Finally, I am unable to get the lovelace cards to show. I put them in /www/atw and added them as lovelace resources pointed in that location, but they do not show in my custom cards menu, nor when I try to put in the yaml code manually.

@deergitseason
Copy link
Author

Figured out the lovelace card, looks like I did have to put them via YAML.

@ad-ha
Copy link
Owner

ad-ha commented Feb 11, 2025

Hi,

Can you give some examples of the issues you are mentioning?

For me it all seems to be working fine and I really do not get what you are mentioning about the percentage.

About the lovelace cards, as mentioned in other issues, this is something out of the scope of the integration. I did include, but they are not really meant to be here.

@ad-ha ad-ha self-assigned this Feb 11, 2025
@deergitseason
Copy link
Author

deergitseason commented Feb 11, 2025

The percentage change sensor shows as 0.000000%. My portfolio changed by about -0.05% today, and the Total Portfolio Value sensor accurately tracks this throughout the day:

Image

Image

(sorry for the cropped images, I'm trying not to show too much sensitive data).

I guess I wasn't sure how Percentage Change is supposed to be displayed. I assumed that it would be % + - compared to the previous market close? So in this case it definitely should not be 0.

@ad-ha
Copy link
Owner

ad-ha commented Feb 12, 2025

Hi,

So I was checking and there's an error with the percentage change for all entries. That is showing the whole portfolio change, instead of showing the change per each symbol.

I will need to revise the code on this...

Cheers

@ad-ha ad-ha added the bug Something isn't working label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants