Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions blog/2022-05-03-serviceinfo-model-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
author: epenet
authorURL: https://github.com/epenet
title: "ServiceInfo model improvements and deprecations"
---

As of Home Assistant Core 2022.6, access to discovery information via the, previously deprecated, dictionary methods have been removed.


This applies to the `DhcpServiceInfo`, `MqttServiceInfo`, `SsdpServiceInfo`, `UsbServiceInfo`, and `ZeroconfServiceInfo` instances.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link to the relevant dev docs page.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a paragraph with some text and example of a discovery step in the config flow docs?

https://developers.home-assistant.io/docs/config_entries_config_flow_handler#discovery-steps


Custom integrations are required to migrate to use the new dataclass properties.