From 142469be9558500c5ef78e280b2742672b998570 Mon Sep 17 00:00:00 2001 From: Austin Mroczek <austin@mroczek.org> Date: Thu, 15 Aug 2024 11:25:56 -0700 Subject: [PATCH] TotalConnect state attribute deprecation warning (#122320) * add warning comment * make comments smaller and put at top * Update homeassistant/components/totalconnect/alarm_control_panel.py --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> --- homeassistant/components/totalconnect/alarm_control_panel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/totalconnect/alarm_control_panel.py b/homeassistant/components/totalconnect/alarm_control_panel.py index 49d97e45e00d8..edbbbb06e707f 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -103,6 +103,7 @@ def __init__( @property def state(self) -> str | None: """Return the state of the device.""" + # State attributes can be removed in 2025.3 attr = { "location_id": self._location.location_id, "partition": self._partition_id,