Cleanup Netatmo code (#38772)

* Clean up const

* Clean up data handler
pull/38778/head
cgtobi 2020-08-12 00:23:51 +02:00 committed by GitHub
parent 49b375ff94
commit 6bdb2f3d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -1,6 +1,4 @@
"""Constants used by the Netatmo component."""
from datetime import timedelta
API = "api"
DOMAIN = "netatmo"
@ -70,9 +68,6 @@ ATTR_FACE_URL = "face_url"
ATTR_SCHEDULE_ID = "schedule_id"
ATTR_SCHEDULE_NAME = "schedule_name"
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5)
MIN_TIME_BETWEEN_EVENT_UPDATES = timedelta(seconds=5)
SERVICE_SET_SCHEDULE = "set_schedule"
SERVICE_SET_PERSONS_HOME = "set_persons_home"
SERVICE_SET_PERSON_AWAY = "set_person_away"

View File

@ -36,7 +36,6 @@ DATA_CLASSES = {
PUBLICDATA_DATA_CLASS_NAME: pyatmo.PublicData,
}
MAX_CALLS_1H = 20
BATCH_SIZE = 3
DEFAULT_INTERVALS = {
HOMEDATA_DATA_CLASS_NAME: 900,