misc
This commit is contained in:
+4
-4
@@ -52,13 +52,13 @@ func (e HardwareMetadata) EventDescription() string {
|
||||
return fmt.Sprintf("HardwareMetadata(id:%s, icon:%s, ...)", e.ID, e.Icon)
|
||||
}
|
||||
|
||||
// DevicesReady is triggered to indicate that all hardware states have been pushed to the bus ahead of this event.
|
||||
type DevicesReady struct {
|
||||
// DeviceReady is triggered to indicate that all hardware states have been pushed to the bus ahead of this event.
|
||||
type DeviceReady struct {
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
func (d DevicesReady) EventDescription() string {
|
||||
return fmt.Sprintf("DevicesReady(id:%s)", d.ID)
|
||||
func (d DeviceReady) EventDescription() string {
|
||||
return fmt.Sprintf("DeviceReady(id:%s)", d.ID)
|
||||
}
|
||||
|
||||
type DevicesUnreachable struct {
|
||||
|
||||
Reference in New Issue
Block a user