mirror of
https://github.com/home-assistant/core.git
synced 2025-11-07 01:50:18 +00:00
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
|