diff --git a/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs b/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs index 9f21267..59f4e4c 100644 --- a/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs +++ b/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs @@ -124,7 +124,7 @@ private async Task HandleToDoListChangeAsync(StateChange - - - - - - + + + + + + diff --git a/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs b/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs index 95accfd..9b963bc 100644 --- a/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs +++ b/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs @@ -14,8 +14,8 @@ public static class TodoEntityExtensions public static async Task AddItemAsync( this TodoEntity entity, string item, - DateOnly? dueDate = null, - DateTime? dueDatetime = null, + object? dueDate = null, + object? dueDatetime = null, string? description = null, CancellationToken cancellationToken = default) { @@ -44,8 +44,8 @@ public static void UpdateItem( Guid uid, string? name = null, ToDoListItemStatus? status = null, - DateOnly? dueDate = null, - DateTime? dueDatetime = null, + object? dueDate = null, + object? dueDatetime = null, string? description = null) { entity.UpdateItem($"{uid}", name, $"{status}", dueDate, dueDatetime, description); diff --git a/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj b/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj index 5ffd9f5..cb418c3 100644 --- a/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj +++ b/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj @@ -8,7 +8,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -22,7 +22,7 @@ - + diff --git a/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj b/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj index 997fa13..9f24095 100644 --- a/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj +++ b/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj @@ -9,7 +9,7 @@ - + diff --git a/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj b/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj index 3066b45..4a9d1bb 100644 --- a/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj +++ b/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj @@ -7,7 +7,7 @@ - +