hass-core/homeassistant/components/smlight/const.py
TimL 5660d1e48e
Add internet binary sensor to Smlight integration (#125982)
* 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>
2024-09-16 13:56:44 +02:00

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)