BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy
https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
MIT License
595 stars 60 forks source link

Overriding deprecated methods on an instance of NumberEntity #313

Closed JRascagneres closed 1 year ago

JRascagneres commented 1 year ago

Describe the bug

Just a log message saying something is deprecated. Likely already know but I couldn't find an existing issue mentioning it so felt I should open a tracking issue for it.

Reproduction steps

N/A

Expected behaviour

N/A

Tariff Code

No response

Integration Version

7.5.0

Home Assistant Version

2023.7.2

Fresh Install?

Fresh install

Home Assistant Logs

Logger: homeassistant.components.number Source: components/number/init.py:114 Integration: Number (documentation, issues) First occurred: 03:56:49 (1 occurrences) Last logged: 03:56:49

custom_components.octopus_energy.intelligent.charge_limit::OctopusEnergyIntelligentChargeLimit is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.

BottlecapDave commented 1 year ago

Thanks for raising. I saw this in another raised issue, but good to have it tracked separately.

BottlecapDave commented 1 year ago

Hello. This has been fixed in the latest release https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/releases/tag/v8.0.0