Mill: Online + icon in tradfri
This commit is contained in:
@@ -107,7 +107,10 @@ func (b *Bridge) listen(bus *lucifer3.EventBus) {
|
||||
b.stateMap[id] = currState
|
||||
|
||||
bus.RunEvent(events.DeviceReady{ID: id})
|
||||
bus.RunEvent(events.HardwareMetadata{ID: id})
|
||||
bus.RunEvent(events.HardwareMetadata{
|
||||
ID: id,
|
||||
Icon: "lightbulb",
|
||||
})
|
||||
bus.RunEvent(events.HardwareState{
|
||||
ID: id,
|
||||
InternalName: ikeaDevice.Name,
|
||||
|
||||
Reference in New Issue
Block a user