mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00

* SharkIQ Dep & Codeowner Update * Update code owners * SharkIQ Room-Targeting Support * Add Tests for New Service * Remove unreachable code * Refine tests to reflect unreachable code changes * Updates based on PR comments * Updates based on PR review comments * Address issues found in PR Review * Update Exception type, add excption message to strings. Do not save room list in state history. * Update message to be more clear that only one faild room is listed * couple more updates based on comments --------- Co-authored-by: jrlambs <jrlambs@gmail.com> Co-authored-by: Robert Resch <robert@resch.dev>
21 lines
511 B
Python
21 lines
511 B
Python
"""Shark IQ Constants."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
API_TIMEOUT = 20
|
|
PLATFORMS = [Platform.VACUUM]
|
|
DOMAIN = "sharkiq"
|
|
SHARK = "Shark"
|
|
UPDATE_INTERVAL = timedelta(seconds=30)
|
|
SERVICE_CLEAN_ROOM = "clean_room"
|
|
|
|
SHARKIQ_REGION_EUROPE = "europe"
|
|
SHARKIQ_REGION_ELSEWHERE = "elsewhere"
|
|
SHARKIQ_REGION_DEFAULT = SHARKIQ_REGION_ELSEWHERE
|
|
SHARKIQ_REGION_OPTIONS = [SHARKIQ_REGION_EUROPE, SHARKIQ_REGION_ELSEWHERE]
|