2021-05-22 14:45:18 +00:00
|
|
|
"""Constants for TCP platform."""
|
2024-03-08 15:35:23 +00:00
|
|
|
|
2021-05-22 14:45:18 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from typing import Final
|
|
|
|
|
|
|
|
CONF_BUFFER_SIZE: Final = "buffer_size"
|
|
|
|
CONF_VALUE_ON: Final = "value_on"
|
|
|
|
|
|
|
|
DEFAULT_BUFFER_SIZE: Final = 1024
|
|
|
|
DEFAULT_NAME: Final = "TCP Sensor"
|
|
|
|
DEFAULT_TIMEOUT: Final = 10
|
|
|
|
DEFAULT_SSL: Final = False
|
|
|
|
DEFAULT_VERIFY_SSL: Final = True
|