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

Incorrect Units for Standing Charge #53

Closed
ColinRobbins opened this issue Oct 26, 2021 · 3 comments · Fixed by #54
Closed

Incorrect Units for Standing Charge #53

ColinRobbins opened this issue Oct 26, 2021 · 3 comments · Fixed by #54
Labels
bug Something isn't working

Comments

@ColinRobbins
Copy link
Contributor

Describe the bug
The standing charge is shown as GBP/kWh.

To Reproduce
Run the integration, and view the sensor

Expected behaviour
Units should be GBP

Version
What version of the integration and what version of Home Assistant are you running?

5.0

@ColinRobbins ColinRobbins added the bug Something isn't working label Oct 26, 2021
@si458
Copy link

si458 commented Oct 26, 2021

this is hard coded it seems?

def unit_of_measurement(self) -> Optional[str]:
"""Return the unit of measurement."""
return "GBP/kWh"

@ColinRobbins
Copy link
Contributor Author

Yes, fix on it's way.

@si458
Copy link

si458 commented Nov 6, 2021

@HandyHat can the fix be implemented please?

@HandyHat HandyHat linked a pull request Nov 7, 2021 that will close this issue
3 tasks
@HandyHat HandyHat closed this as completed Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants