1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-30 04:05:01 +01:00
Files
2026-04-30 21:14:48 +02:00

22 lines
422 B
Python

"""Models for TCP platform."""
from typing import TypedDict
from homeassistant.helpers.template import Template
class TcpSensorConfig(TypedDict):
"""TypedDict for TcpSensor config."""
name: str
host: str
port: str
timeout: int
payload: str
unit_of_measurement: str | None
value_template: Template | None
value_on: str | None
buffer_size: int
ssl: bool
verify_ssl: bool