* Initial version * Baseline release * Refactor based on first PR feedback * Refactoring based on second PR feedback * Initial version * Baseline release * Refactor based on first PR feedback * Refactoring based on second PR feedback * Refactoring based on PR feedback * Refactoring based on PR feedback * Remove extra attribute soil type Soil type isn't really a sensor, but more like a configuration entity. Move soil type to a different PR to keep this PR simpler. * Refactor SensoterraSensor to a named tuple * Implement feedback on PR * Remove .coveragerc * Add async_set_unique_id to config flow * Small fix based on feedback * Add test form unique_id * Fix * Fix --------- Co-authored-by: Joostlek <joostlek@outlook.com>
10 lines
283 B
Python
10 lines
283 B
Python
"""Constants for the Sensoterra integration."""
|
|
|
|
import logging
|
|
|
|
DOMAIN = "sensoterra"
|
|
SCAN_INTERVAL_MINUTES = 15
|
|
SENSOR_EXPIRATION_DAYS = 2
|
|
TOKEN_EXPIRATION_DAYS = 10 * 365
|
|
CONFIGURATION_URL = "https://monitor.sensoterra.com"
|
|
LOGGER: logging.Logger = logging.getLogger(__package__)
|