Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { ConfigurationUrl string `json:"configuration_url,omitempty"` Connections []string `json:"connections,omitempty"` HWVersion string `json:"hw_version,omitempty"` Identifiers []string `json:"identifiers,omitempty"` Manufacturer string `json:"manufacturer,omitempty"` Model string `json:"model,omitempty"` Name string `json:"name,omitempty"` SuggestedArea string `json:"suggested_area,omitempty"` SWVersion string `json:"sw_version,omitempty"` ViaDevice string `json:"viaDevice,omitempty"` }
type Sensor ¶
type Sensor struct { StateTopic string `json:"state_topic,omitempty"` ValueTemplate string `json:"value_template,omitempty"` UnitOfMeasurement string `json:"unit_of_measurement,omitempty"` DeviceClass enum.DeviceClass `json:"device_class,omitempty"` StateClass enum.StateClass `json:"state_class"` Base }
Click to show internal directories.
Click to hide internal directories.