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

[mqtt.homeassistant] Support new "device" discovery #17888

Open
ccutrer opened this issue Dec 12, 2024 · 0 comments
Open

[mqtt.homeassistant] Support new "device" discovery #17888

ccutrer opened this issue Dec 12, 2024 · 0 comments
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@ccutrer
Copy link
Contributor

ccutrer commented Dec 12, 2024

See https://www.home-assistant.io/integrations/mqtt/#device-discovery-payload. This is new in Home Assistant 2024.12, so it's unlikely (m)any devices are using it yet. For the most part it should be relatively simple to separate out the children components. We'll just need to make sure availability topics from the root of the JSON don't get lost.

I also don't think we need to worry about any of the transition messages HASS has to do, since items don't disappear when the discovery info does - just the channel. And then when they re-appear they automatically get re-linked.

@ccutrer ccutrer added the enhancement An enhancement or new feature for an existing add-on label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

1 participant