Files
home-automation/app/schemas/homeassistant.py
T

10 lines
188 B
Python
Raw Permalink Normal View History

2026-04-20 10:42:35 +02:00
from pydantic import BaseModel, ConfigDict
class HomeAssistantPublishEnvelope(BaseModel):
target: str
action: str
content: str
model_config = ConfigDict(extra="forbid")