Fix compatibility with ESPHome 2022.5.0
gorbunovav opened this issue · comments
Describe the bug
With the ESPHome 2022.5.0 release the set
method of the Number
component was removed.
The proper way to set the value is to use the make_call
method:
https://esphome.io/components/number/index.html?highlight=make_call
To Reproduce
Update to ESPHome 2022.5.0 and try to compile the firmware.
Expected behavior
Compilation completes succesfully.
Thanks. Yes unfortunately they removed that function. I saw that you are working on a PR? Happy to merge if you are ready. The PR needs to be merged to upstream master. If the GitHub app is not lying you opened a PR to your fork branch
@Lyr3x Hi! Yes, the PR is ready to be merged.
Thank you very much for the contribution
Can you open the PR to upstream please?
@Lyr3x oh, sorry - I've specified the wrong target in my PR. Fixed