mirror of
https://github.com/Stefan-5422/-T5-Elektrifikatsiya.git
synced 2026-09-04 00:45:58 +02:00
Hotfix
error check david
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user