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

Add required step param to OpenthermNumber to prevent error on HA restart #15

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ov1d1u
Copy link

@ov1d1u ov1d1u commented Mar 17, 2023

Fixes #14. According to this, it looks like ESPHome number components are required to define a step field. I'm not familiar with ESPHome custom components development, so I'm not sure if it was needed to add step in so many places.

@ov1d1u ov1d1u changed the title Add step param to OpenthermNumber to prevent error at HA restart Add step param to OpenthermNumber to prevent error on HA restart Mar 17, 2023
@ov1d1u ov1d1u changed the title Add step param to OpenthermNumber to prevent error on HA restart Add required step param to OpenthermNumber to prevent error on HA restart Mar 27, 2023
@Arise
Copy link

Arise commented May 2, 2023

Tested this and it fixes an important bug for me, now I no longer need to remove and add back the integration when HA or the ESP device restarts for whatever reasons.
The issue is fixed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: must be real number, not NoneType
3 participants