This commit is contained in:
2022-08-21 16:19:24 +02:00
parent b303a623f6
commit c3cc65618b
6 changed files with 29 additions and 25 deletions
+4 -4
View File
@@ -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 {