Update device_state_attributes to extra_state_attributes (#269)

This commit is contained in:
Thanasis
2022-04-16 22:47:56 +03:00
committed by GitHub
parent 63d204cbf8
commit d4dc57d683
5 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ class BrowserModSensor(BrowserModEntity):
return len(self.connection.connection)
@property
def device_state_attributes(self):
def extra_state_attributes(self):
return {
"type": "browser_mod",
"last_seen": self.last_seen,