CodeFoodPixels / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
110 stars 26 forks source link

[Feature Request] Make metrics like battery a `sensor` #23

Closed 8none1 closed 8 months ago

8none1 commented 10 months ago

Caveat: I find the home assistant data model to be quite confusing, so maybe this is already possible and I just don't know how to use it.

The robovac entity vacuum.foo has a number of attributes that I would find interesting & useful to be able to graph over time. For example, battery. I could spot when the battery is draining faster that it used to and so perhaps needs to be replaced.

These metrics are currently stored as attributes against the main vacuum entity. In other devices where the data is exposed in the way I would like the main entity provides a number of seperate sensors which hold that information. When I click on them I am able to see a graph.

I think battery is the only one I really need.

Thanks for picking up this project and resurecting it. Much appreciated.

CodeFoodPixels commented 10 months ago

This sounds like a great idea, I'll have a look at this

CodeFoodPixels commented 9 months ago

If you download the main branch, I've added a sensor for battery if you'd like to give it a try?

8none1 commented 9 months ago

Great success!

image

image

8none1 commented 8 months ago

This landed in https://github.com/CodeFoodPixels/robovac/releases/tag/v1.1.1

Closing as complete. Thank you!