Skip to content

Commit

Permalink
Fix refresh time
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Jul 10, 2022
1 parent b9da110 commit 3074eae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/pdns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
) -> None:
"""Class to manage fetching data API."""
super().__init__(
hass, _LOGGER, name=DOMAIN, update_interval=timedelta(DEFAULT_INTERVAL)
hass, _LOGGER, name=DOMAIN, update_interval=timedelta(minutes=DEFAULT_INTERVAL)
)
session = async_create_clientsession(hass)
self.pdns_client = PDNS(servername, alias, username, password, session)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/pdns/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"issue_tracker": "https://github.com/Cyr-ius/hass-pdns/issues",
"codeowners": ["@Cyr-ius"],
"iot_class": "cloud_polling",
"version": "2.2"
"version": "2.2.1"
}

0 comments on commit 3074eae

Please sign in to comment.