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

@@ -40,7 +40,7 @@ class BrowserModLight(LightEntity, BrowserModEntity):
return not self.data.get("blackout", False)
@property
def device_state_attributes(self):
def extra_state_attributes(self):
return {
"type": "browser_mod",
"deviceID": self.deviceID,