Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Fix for rename of device_state_attributes #65

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/philips_airpurifier_coap/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ async def async_set_preset_mode(self, preset_mode: str) -> None:
await self._client.set_control_values(data=status_pattern)

@property
def device_state_attributes(self) -> Optional[Dict[str, Any]]:
def extra_state_attributes(self) -> Optional[Dict[str, Any]]:
def append(
attributes: dict,
key: str,
Expand Down