diff --git a/.gitignore b/.gitignore
index 3e7dc38..227db7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -108,3 +108,6 @@ ServiceFabricBackup/
# Sensitive / local config (uncomment if you use appsettings.local.json etc.)
# appsettings.*.local.json
# *.local.json
+
+# Cursor MCP config (contains secrets)
+.cursor/mcp.json
diff --git a/BatteryMonitor.Manager.Tests/BatteryMonitor.Manager.Tests.csproj b/BatteryMonitor.Manager.Tests/BatteryMonitor.Manager.Tests.csproj
new file mode 100644
index 0000000..92c8040
--- /dev/null
+++ b/BatteryMonitor.Manager.Tests/BatteryMonitor.Manager.Tests.csproj
@@ -0,0 +1,34 @@
+
+
+
+ net10.0
+ enable
+ enable
+ false
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BatteryMonitor.Manager.Tests/BatteryNotificationServiceTests.cs b/BatteryMonitor.Manager.Tests/BatteryNotificationServiceTests.cs
new file mode 100644
index 0000000..17eb02e
--- /dev/null
+++ b/BatteryMonitor.Manager.Tests/BatteryNotificationServiceTests.cs
@@ -0,0 +1,143 @@
+using FluentAssertions;
+using Microsoft.Extensions.Logging;
+using Moq;
+using NetDaemon.HassModel;
+using NetDaemon.HassModel.Entities;
+using BatteryMonitor.Models;
+using BatteryMonitorManager;
+
+namespace BatteryMonitor.Manager.Tests;
+
+public class BatteryNotificationServiceTests
+{
+ private readonly Mock _haContextMock;
+ private readonly Mock> _loggerMock;
+
+ public BatteryNotificationServiceTests()
+ {
+ _haContextMock = new Mock();
+ _loggerMock = new Mock>();
+ }
+
+ private BatteryNotificationService CreateSut()
+ {
+ return new BatteryNotificationService(_haContextMock.Object, _loggerMock.Object);
+ }
+
+ #region NotifyLowBattery
+
+ [Fact]
+ public void NotifyLowBattery_WithDevices_ShouldCallPersistentNotificationCreate()
+ {
+ var devices = new List
+ {
+ new() { EntityId = "sensor.bathroom_battery", FriendlyName = "Bathroom Battery", BatteryLevel = 3 },
+ new() { EntityId = "sensor.bedroom_battery", FriendlyName = "Bedroom Battery", BatteryLevel = 1 }
+ };
+
+ var sut = CreateSut();
+ sut.NotifyLowBattery(devices);
+
+ _haContextMock.Verify(h => h.CallService(
+ BatteryMonitorConsts.PersistentNotificationDomain,
+ BatteryMonitorConsts.PersistentNotificationCreateService,
+ It.IsAny(),
+ It.IsAny