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 f13ee65ead
All checks were successful
continuous-integration/drone/push Build is passing
Added light sensor
2022-11-23 01:16:46 +01:00

26 lines
590 B
Go

package zigbee
import (
"automation/device"
paho "github.com/eclipse/paho.mqtt.golang"
)
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(client paho.Client)
}