* Store data in config_entry.runtime_data * Update homeassistant/components/brother/__init__.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Fix setdefault * Do not include ignored and disabled * Check loaded entries --------- Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
14 lines
265 B
Python
14 lines
265 B
Python
"""Constants for Brother integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from datetime import timedelta
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "brother"
|
|
|
|
PRINTER_TYPES: Final = ["laser", "ink"]
|
|
|
|
SNMP: Final = "snmp"
|
|
|
|
UPDATE_INTERVAL = timedelta(seconds=30)
|