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

Request - Energy Costing #88

Open
jwhitbread opened this issue Jun 5, 2023 · 0 comments
Open

Request - Energy Costing #88

jwhitbread opened this issue Jun 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jwhitbread
Copy link

Hi! Loving using this with Home Assistant. I currently have the P110 which can calculate costing, however it seems that it doesn't pull this information. I tried to make a branch and pull request, but I don't have perms.

I added to energy_info.py:

current_cost: float = property(lambda self: self.info["electricity_charge"][2])

which will return ..., current_cost=1173... - I think this will be a nice addtion to have in so it can be easily viewed in Home assistant.

Thanks,

Jordan.

@petretiandrea petretiandrea added the enhancement New feature or request label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants