mirror of
https://github.com/home-assistant/core.git
synced 2025-05-15 03:19:15 +00:00

* Separate data class out of coordinator * Further fix the imports * Update homeassistant/components/apcupsd/coordinator.py Co-authored-by: J. Nick Koston <nick@koston.org> * Use `or` to make it a bit cleaner when trying to find the UPS model Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com> * Use or to make it a bit cleaner when trying to find the UPS model Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com> * Use plain dict instead of `OrderedDict` --------- Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
6 lines
120 B
Python
6 lines
120 B
Python
"""Constants for APCUPSd component."""
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "apcupsd"
|
|
CONNECTION_TIMEOUT: int = 10
|