21 lines
520 B
Go
21 lines
520 B
Go
package zigbee
|
|
|
|
import "automation/device"
|
|
|
|
type Info struct {
|
|
IEEEAdress string `json:"ieee_address"`
|
|
FriendlyName device.InternalName `json:"friendly_name"`
|
|
Description string `json:"description"`
|
|
Manufacturer string `json:"manufacturer"`
|
|
ModelID string `json:"model_id"`
|
|
SoftwareBuildID string `json:"software_build_id"`
|
|
}
|
|
|
|
type Device interface {
|
|
device.Basic
|
|
|
|
// This function only exists to make this interface unique
|
|
IsZigbeeDevice() bool
|
|
Delete()
|
|
}
|