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

HA firstrun only delete config, create HA in next loop (mqtt queue) #856

Merged
merged 3 commits into from
Dec 28, 2022

Conversation

MichaelDvP
Copy link
Contributor

In your generated entity list i've seen that heatpumps now have 164 possible entities. On first start HA queues 164 remove messages and direct a number of config messages. This could blow the queue with 300 entries. With this change first the remove messages were queued. On next cycle, when queue is empty, the HA config is generated. Also helps to keep maxAlloc a bit larger.

@proddy
Copy link
Contributor

proddy commented Dec 28, 2022

good spot.

@proddy proddy merged commit d41e634 into emsesp:dev Dec 28, 2022
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.

2 participants