From: jweigele Date: Tue, 13 Dec 2022 23:22:15 +0000 (-0800) Subject: Whoops, leaving the source in kept zigbee messing up. X-Git-Url: http://git.hexthepla.net/?a=commitdiff_plain;h=d2abdd14ace36b10f1c6d3bab944f992454fb628;p=rabbit_go Whoops, leaving the source in kept zigbee messing up. Should probably split out by Relay vs Zig enabled later, but this is fine for now. --- diff --git a/lights/main.go b/lights/main.go index 8014a5d..9c2e499 100644 --- a/lights/main.go +++ b/lights/main.go @@ -305,7 +305,7 @@ func (relay *RGBRelay) setPWM(red, green, blue float64) { func (relay *RGBRelay) sendUpdate(red, green, blue float64) { relay.logger.V(3).Info("Sending update for relay") rgbData, routingKey := relay.relayData.getRelayData(red, green, blue) - sendItem := helper.RabbitSend{Data: rgbData, RoutingKey: routingKey} + sendItem := helper.RabbitSend{Data: rgbData, RoutingKey: routingKey, EmptySource: true} relay.sendChannel <- sendItem }