Giter Site home page Giter Site logo

Incorrect battery status about vacuum-card HOT 6 OPEN

almirus avatar almirus commented on June 24, 2024
Incorrect battery status

from vacuum-card.

Comments (6)

make-all avatar make-all commented on June 24, 2024 2

I think this is caused by Home Assistant deprecating the battery_level attribute of the vacuum entity last July, and instead instructing integration authors to replace it with a sensor of class battery connected to the same device.
https://developers.home-assistant.io/blog/2023/07/10/vacuum-updates

But many integrations have not been updated, so I don't know if this can be implemented conditionally to show the battery from battery_level if available, otherwise using the linked battery sensor..

from vacuum-card.

shad0wca7 avatar shad0wca7 commented on June 24, 2024

Is there a way to hide the % in the top left or replace it with something else?

from vacuum-card.

antonio1475 avatar antonio1475 commented on June 24, 2024

Also having this issue.

It's probably an easy change on this section of the card

const { battery_level, battery_icon } = this.getAttributes(this.entity);

but I don't have the knowledge 😓

from vacuum-card.

joeblackdandt avatar joeblackdandt commented on June 24, 2024

Also seeing this issue:
image

from vacuum-card.

github-actions avatar github-actions commented on June 24, 2024

There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue.
Thank you for your contributions!

from vacuum-card.

make-all avatar make-all commented on June 24, 2024

Problem still exists in latest version with vacuums integrations that have been modified to follow https://developers.home-assistant.io/blog/2023/07/10/vacuum-updates

from vacuum-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.