This repository has been archived on 2023-08-29. You can view files and clone it, but cannot push or open issues or pull requests.
automation/integration/zigbee/zigbee.go
Dreaded_X 501775654f
All checks were successful
continuous-integration/drone/push Build is passing
More refactoring, made zigbee2mqtt prefix a config option
2022-11-21 23:47:15 +01:00

22 lines
487 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"`
MQTTAddress string `json:"-"`
}
type Device interface {
device.Basic
IsZigbeeDevice()
Delete()
}