Fix abode DeprecationWarnings (#97620)

This commit is contained in:
Marc Mueller
2023-08-03 09:10:31 +02:00
committed by GitHub
parent 7cf2199e8b
commit 3c2cebea72
3 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ class AbodeAlarm(AbodeDevice, alarm.AlarmControlPanelEntity):
def extra_state_attributes(self) -> dict[str, str]:
"""Return the state attributes."""
return {
"device_id": self._device.device_id,
"device_id": self._device.id,
"battery_backup": self._device.battery,
"cellular_backup": self._device.is_cellular,
}