mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user