diff options
Diffstat (limited to 'shelly.go')
| -rw-r--r-- | shelly.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ import ( "strings" ) -func ShellyRun(config ShellyConfigs, rx chan MQTTMessage) { - for message := range rx { +func ShellyRun(config ShellyConfigs, route Route) { + for message := range route.Destination { ip, command, err := parseMessage(config, message) if err != nil { log.Println(err) |
