Fix abode DeprecationWarnings (#97620)
This commit is contained in:
parent
7cf2199e8b
commit
3c2cebea72
3 changed files with 7 additions and 7 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue