Update integrations p-s to override extra_state_attributes() (#47759)
This commit is contained in:
parent
1fc8e32d86
commit
14ff6d4d1f
106 changed files with 144 additions and 146 deletions
|
@ -105,7 +105,7 @@ class PingBinarySensor(BinarySensorEntity):
|
|||
return self._ping.available
|
||||
|
||||
@property
|
||||
def device_state_attributes(self) -> Dict[str, Any]:
|
||||
def extra_state_attributes(self) -> Dict[str, Any]:
|
||||
"""Return the state attributes of the ICMP checo request."""
|
||||
if self._ping.data is not False:
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue