Skip to content

Commit

Permalink
TotalConnect state attribute deprecation warning (#122320)
Browse files Browse the repository at this point in the history
* add warning comment

* make comments smaller and put at top

* Update homeassistant/components/totalconnect/alarm_control_panel.py

---------

Co-authored-by: Joost Lekkerkerker <[email protected]>
  • Loading branch information
austinmroczek and joostlek authored Aug 15, 2024
1 parent 7d552b6 commit 142469b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 142469b

Please sign in to comment.