Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #306 from Thomas55555/remove-bugs
Browse files Browse the repository at this point in the history
remove bugs
  • Loading branch information
Thomas55555 authored Jul 14, 2022
2 parents 3a4b887 + 5fff8ba commit 4d6d676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/husqvarna_automower/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
if hass.data.get(DOMAIN) is None:
hass.data.setdefault(DOMAIN, {})
_LOGGER.info(STARTUP_MESSAGE)

api_key = None
ap_storage = hass.data.get("application_credentials")["storage"]
ap_storage_data = ap_storage.__dict__["data"]
for k in ap_storage_data:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/husqvarna_automower/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def unique_id(self) -> str:
return f"{self.mower_id}_calendar"

@property
def entity_category(self) -> StrEnum:
def entity_category(self) -> EntityCategory:
"""Return a unique identifier for this entity."""
return EntityCategory.DIAGNOSTIC

Expand Down

0 comments on commit 4d6d676

Please sign in to comment.