8000 UI: fix CO2 format by naltatis · Pull Request #21032 · evcc-io/evcc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UI: fix CO2 format #21032

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

Merged
merged 2 commits into from
May 3, 2025
Merged

UI: fix CO2 format #21032

merged 2 commits into from
May 3, 2025

Conversation

naltatis
Copy link
Member
@naltatis naltatis commented May 3, 2025

fixes regression from #20814
may fix NaN behavior from #20875

0️⃣ don't show questions mark for missing co2 values
🔢 energy flow: validate kW(h) values before animating them

Copy link
Contributor
@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @naltatis - I've reviewed your changes - here's some feedback:

  • Consider if displaying '0' is the desired behavior when the gramms value is undefined, or if returning a placeholder might be more appropriate.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@andig
Copy link
Member
andig commented May 3, 2025

@naltatis was soll ich tun?

@naltatis
Copy link
Member Author
naltatis commented May 3, 2025

:) Brauchst nichts tun. Hab dich nur eingetragen weil du mir das ? Verhalten gemeldet hast.

@naltatis naltatis merged commit eda58e3 into master May 3, 2025
6 checks passed
@naltatis naltatis deleted the fix/co2_fmt branch May 3, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0