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>
This commit is contained in:
parent
7d552b64f7
commit
142469be95
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class TotalConnectAlarm(TotalConnectLocationEntity, AlarmControlPanelEntity):
|
|||
@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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue