package domain // Switch represents a discovered switch entity. type Switch struct { // EntityID is the Home Assistant entity identifier. EntityID EntityID // FriendlyName is the user-facing name from Home Assistant attributes. FriendlyName string // State is the current raw switch state, usually on, off, or unavailable. State string // "on" | "off" | "unavailable" // DeviceClass identifies the switch semantic type when Home Assistant sets it. DeviceClass string // e.g. "switch" }