wrong serial command

This commit is contained in:
2024-01-20 20:19:25 +01:00
parent 9bcfd75aa2
commit 5de7e3c0ce
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public class OpenShockSerial : SerialShocker
protected override void ControlInternal(ControlAction action, string shockerId, int intensity, int duration)
{
string json = "{" +
string json = "rftransmit {" +
$"\"model\":\"{Enum.GetName(Model[shockerId])!.ToLower()}\"," +
$"\"id\":{shockerId}," +
$"\"type\":\"{ControlActionToString(action)}\"," +