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

Commit

Permalink
Fix SCAN_INTERVAL at 2 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Apr 18, 2022
1 parent af47bab commit 3f35a6b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion custom_components/enedis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from .enediscoordinator import EnedisDataUpdateCoordinator

CONFIG_SCHEMA = vol.Schema({vol.Optional(DOMAIN): {}}, extra=vol.ALLOW_EXTRA)
SCAN_INTERVAL = timedelta(hours=2)

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/enedis/enediscoordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from .enedisgateway import HC, HP, EnedisException

CONFIG_SCHEMA = vol.Schema({vol.Optional(DOMAIN): {}}, extra=vol.ALLOW_EXTRA)
SCAN_INTERVAL = timedelta(hours=1)
SCAN_INTERVAL = timedelta(hours=2)

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/enedis/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"dependencies": ["recorder"],
"after_dependencies": [],
"codeowners": ["@cyr-ius"],
"version": "1.8",
"version": "1.9",
"iot_class": "cloud_polling"
}

0 comments on commit 3f35a6b

Please sign in to comment.