some more stuffs.
This commit is contained in:
@@ -60,10 +60,12 @@ func (s *service) HandleCommand(bus *lucifer3.EventBus, command lucifer3.Command
|
||||
})
|
||||
}
|
||||
case commands.SearchDevices:
|
||||
bus.RunEvent(events.DeviceFailed{
|
||||
ID: command.ID,
|
||||
Error: "Please follow instructions in IKEA app; they will appear here after pairing.",
|
||||
})
|
||||
if _, ok := command.Matches("tradfri"); ok {
|
||||
bus.RunEvent(events.DeviceFailed{
|
||||
ID: command.ID,
|
||||
Error: "Please follow instructions in IKEA app; they will appear here after pairing.",
|
||||
})
|
||||
}
|
||||
case commands.SetState:
|
||||
if _, ok := command.Matches("tradfri"); ok {
|
||||
bridge, ok := s.findBridge(command.ID)
|
||||
|
||||
Reference in New Issue
Block a user