mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Michael](/assets/img/avatar_default.png)
* add strict type annotations * apply suggestions * rename to TCP_PLATFORM_SCHEMA * Replace DiscoveryInfoType
14 lines
328 B
Python
14 lines
328 B
Python
"""Constants for TCP platform."""
|
|
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
|