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
feat: allow use templated topic #14
Conversation
It is a property by meaning, that should be generated from config.
…function It is not related to subscription to root topic
This constant contain macro for getting position from topic
to avoid "variable is not used" PyCharm warning
and add method for getting sensor by it's name
Model is MQTT to point out that it is MQTT integration.
🎉 HACS repository validator action summary 🎉 |
Now we may use
%%%device%%%
macro for integration to get device name from different parts of MQTT topic.Old
root_topic
configuration option will be replaced byold_root_topic_value/%%%device%%%
template.Have no breaking changes, but have a lot of changes in code, so it should be v2.0.0 release.
Fixes #9, #8