Apply code formatting cleanup across monitor projects
- Reindent appsettings.json and the MSBuild project files - Collapse single-statement guard blocks and tidy using and member order - Normalize XML doc indentation and file endings - Reorder BatteryMonitor test-data helpers and move the exclusion tests into their own region - Carry the same formatting through the boiler config, control, entity and test files
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using LightMonitor.Models;
|
||||
using LightMonitorManager;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Moq;
|
||||
using NetDaemon.HassModel;
|
||||
using NetDaemon.HassModel.Entities;
|
||||
using LightMonitorManager;
|
||||
|
||||
namespace LightMonitor.Manager.Tests;
|
||||
|
||||
@@ -79,7 +79,7 @@ public class LightControlServiceTests
|
||||
public void TurnOnLight_ShouldTargetTheConfiguredLightEntity()
|
||||
{
|
||||
const string customLightEntityId = "light.kitchen_ceiling";
|
||||
var options = LightMonitorTestData.CreateOptions(lightEntityId: customLightEntityId);
|
||||
var options = LightMonitorTestData.CreateOptions(customLightEntityId);
|
||||
|
||||
SetupState(SunEntityId, LightMonitorConsts.SunBelowHorizon);
|
||||
SetupState(customLightEntityId, "off");
|
||||
@@ -137,4 +137,4 @@ public class LightControlServiceTests
|
||||
_haContextMock.Verify(x => x.GetState(LightEntityId), Times.Once);
|
||||
VerifyTurnOn(LightEntityId, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user