chore: fix rule

This commit is contained in:
willem.serruys
2025-12-29 06:28:30 +01:00
parent 32a5f7102f
commit fc6bdab674

View File

@@ -21,13 +21,13 @@ app.MapPost(
{ {
case "firing": case "firing":
await client.GetAsync( await client.GetAsync(
"http://192.168.1.121/control?cmd=heatpump&set_power_mode=on" "http://192.168.1.121/control?cmd=heatpump&set_power_mode=off"
); );
Console.WriteLine("Peak too high. Shutting down heat pump."); Console.WriteLine("Peak too high. Shutting down heat pump.");
break; break;
case "resolved": case "resolved":
await client.GetAsync( await client.GetAsync(
"http://192.168.1.121/control?cmd=heatpump&set_power_mode=off" "http://192.168.1.121/control?cmd=heatpump&set_power_mode=on"
); );
Console.WriteLine("Peak acceptable. Re enabling heat pump."); Console.WriteLine("Peak acceptable. Re enabling heat pump.");
break; break;