Skip to content

Commit 0e837a2

Browse files
committed
Error on duplicate webhooks
Fixes #1
1 parent e5122d8 commit 0e837a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • custom_components/august_access_codes

custom_components/august_access_codes/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SeamAPI:
7171
entry_update_listener_unload: CALLBACK_TYPE
7272

7373
@classmethod
74-
async def auth(cls, *, hass: HomeAssistant, entry: ConfigEntry) -> SeamAPI:
74+
async def auth(cls, *, hass: HomeAssistant, entry: ConfigEntry) -> "SeamAPI": # noqa: UP037
7575
"""Authenticate and return an AugustAccess instance."""
7676
if not hass.config_entries.async_has_entries(
7777
AUGUST_DOMAIN, include_ignore=False, include_disabled=False

0 commit comments

Comments
 (0)