mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
fe1ff456c6
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
23 lines
448 B
Python
23 lines
448 B
Python
"""Constants for Brother integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from datetime import timedelta
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "brother"
|
|
|
|
PRINTER_TYPE_LASER = "laser"
|
|
PRINTER_TYPE_INK = "ink"
|
|
|
|
PRINTER_TYPES: Final = [PRINTER_TYPE_LASER, PRINTER_TYPE_INK]
|
|
|
|
UPDATE_INTERVAL = timedelta(seconds=30)
|
|
|
|
SECTION_ADVANCED_SETTINGS = "advanced_settings"
|
|
|
|
CONF_COMMUNITY = "community"
|
|
|
|
DEFAULT_COMMUNITY = "public"
|
|
DEFAULT_PORT = 161
|