Skip to content

Commit

Permalink
Replace Entity.device_state_attributes with Entity.extra_state_attrib…
Browse files Browse the repository at this point in the history
…utes (#82)

* Bump version

* Switching back to manual versioning

* Replace Entity.device_state_attributes with Entity.extra_state_attributes

* Replace Entity.device_state_attributes with Entity.extra_state_attributes

Co-authored-by: Robin Kolk <[email protected]>
Co-authored-by: kloknibor <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2021
1 parent f75effc commit 0a625c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/miele/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def state(self):
return result

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Attributes."""

result = {}
Expand Down
2 changes: 1 addition & 1 deletion custom_components/miele/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Miele@home",
"documentation": "https://github.com/HomeAssistant-Mods/home-assistant-miele",
"issue_tracker": "https://github.com/HomeAssistant-Mods/home-assistant-miele/issues",
"version": "v2021.9.14",
"version": "v2021.10.12",
"iot_class": "cloud_polling",
"requirements": [
"requests_oauthlib>=1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/miele/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def state(self):
return result

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Attributes."""
device_state = self._device["state"]

Expand Down

0 comments on commit 0a625c9

Please sign in to comment.