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

Fix: Unexpected string in integer variable due to mqtt not being ready at startup. #149

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

xNUTx
Copy link
Contributor

@xNUTx xNUTx commented Sep 5, 2024

#140 (comment)

I added a type test for num_pages. It should not hold a string, but it seems it can...

…red and started. This should also fix HASwitchPlate#133 but needs testing by someone who had the MQTT error (I did not, I actually never have).
@xNUTx
Copy link
Contributor Author

xNUTx commented Sep 6, 2024

Made sure the component setup is not done until MQTT is fully configured and started.

This should also fix #133 but needs testing by someone who had the MQTT error (I did not, I actually never have).

@xNUTx xNUTx changed the title PR #140 seems to be a partial fix, so revisit to fix it again. Fix: Unexpected string in integer variable due to mqtt not being ready at startup. Sep 6, 2024
@fvanroie fvanroie merged commit 48a2671 into HASwitchPlate:main Sep 6, 2024
2 checks passed
@dgomes
Copy link
Collaborator

dgomes commented Sep 6, 2024

@fvanroie this requires a new release!

@fvanroie
Copy link
Collaborator

fvanroie commented Sep 6, 2024

done

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.

3 participants