scottbonline / sense

Sense Energy Monitor API
MIT License
174 stars 45 forks source link

Expose more SenseableBase properties. #47

Closed crkochan closed 3 years ago

crkochan commented 3 years ago

In order to expose additional information to be used with the new Home Assistant Energy dashboard, the following changes were made.

crkochan commented 3 years ago

Set PR as draft until I test this in a local Home Assistant install.

crkochan commented 3 years ago

In console testing in PyCharm, I'm getting valid sensor objects, so I think I've got something ready to go now.

image

crkochan commented 3 years ago

@kbickar I'm done with changes at this point. I've got the component in Home Assistant updated to expose the new sensor objects, but I'm waiting on opening a PR there until there's a new library version available in PyPi.

What are next steps?

kbickar commented 3 years ago

Sounds good, I'll take a look at it tomorrow and then release the updated library

kbickar commented 3 years ago

New release is out -thanks for the PR!