diff --git a/station/Signalco.Station.Channel.Shelly/ShellyWorkerService.cs b/station/Signalco.Station.Channel.Shelly/ShellyWorkerService.cs index d2700d871a..d922624cca 100644 --- a/station/Signalco.Station.Channel.Shelly/ShellyWorkerService.cs +++ b/station/Signalco.Station.Channel.Shelly/ShellyWorkerService.cs @@ -51,7 +51,7 @@ private async Task StartDeviceAsync(IEntityDetails entity, CancellationToken can } var pollingInterval = configuration.PollingInterval.HasValue - ? TimeSpan.FromMicroseconds(Math.Max(1000, configuration.PollingInterval.Value)) + ? TimeSpan.FromMilliseconds(Math.Max(1000, configuration.PollingInterval.Value)) : TimeSpan.FromSeconds(30); try diff --git a/web/apps/app/components/widgets/parts/WidgetEnergy.tsx b/web/apps/app/components/widgets/parts/WidgetEnergy.tsx index eb67681907..dbf4448277 100644 --- a/web/apps/app/components/widgets/parts/WidgetEnergy.tsx +++ b/web/apps/app/components/widgets/parts/WidgetEnergy.tsx @@ -56,7 +56,7 @@ export default function WidgetEnergy({ config, onOptions }: WidgetSharedProps