error check david
This commit is contained in:
Aldin296
2023-06-14 01:24:54 +02:00
parent 9f99c4f72c
commit 672236fd7f
@@ -41,7 +41,7 @@ public class EnergyPriceService : IEnergyPriceService
plugnames += $"shellyplug-s-{device.MacAddress}/relay/0|";
}
if(plugnames.Length <= 0)
if(plugnames.Length <= 0 || changes.Count <= 0)
{
return 0;
}