mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 21:36:31 +00:00
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:
parent
4df71d9a5f
commit
4ff6bfa329
12
blog/2022-05-03-serviceinfo-model-improvements.md
Normal file
12
blog/2022-05-03-serviceinfo-model-improvements.md
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user