ServiceInfo model improvements and deprecations (#1311)

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
epenet 2022-05-03 18:37:10 +02:00 committed by GitHub
parent 4df71d9a5f
commit 4ff6bfa329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
Custom integrations are required to migrate to use the new dataclass properties.