From cda8f0fb50b63b14b8a939c29dc36bbf82c141c2 Mon Sep 17 00:00:00 2001 From: alireza Date: Wed, 18 Feb 2026 23:58:30 +0330 Subject: [PATCH] fix sending alert sms --- src/GreenHome.Infrastructure/AlertService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GreenHome.Infrastructure/AlertService.cs b/src/GreenHome.Infrastructure/AlertService.cs index 74184e1..7a963b1 100644 --- a/src/GreenHome.Infrastructure/AlertService.cs +++ b/src/GreenHome.Infrastructure/AlertService.cs @@ -85,7 +85,7 @@ public sealed class AlertService : IAlertService if (!conditions.Any()) { logger.LogDebug("No enabled alert conditions for device: DeviceId={DeviceId}", deviceId); - return null; + //return null; } // Determine if it's daytime or nighttime