* Add internet sensor updated by events * Strings for internet sensor * Update binary_sensor snapshot with internet sensor * Add test for internet sensor * Address review comments --------- Co-authored-by: Tim Lunn <tim@feathertop.org>
13 lines
317 B
Python
13 lines
317 B
Python
"""Constants for the SMLIGHT Zigbee integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
DOMAIN = "smlight"
|
|
|
|
ATTR_MANUFACTURER = "SMLIGHT"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
SCAN_INTERVAL = timedelta(seconds=300)
|
|
SCAN_INTERNET_INTERVAL = timedelta(minutes=15)
|
|
UPTIME_DEVIATION = timedelta(seconds=5)
|