-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input helper support in Client (#831)
* Support create input helper on IHomeAssistantConnection * Remove the Model folder * Fix public to internal for commands
- Loading branch information
1 parent
172aa61
commit e30122f
Showing
5 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
...rnal/HomeAssistantConnectionExtensions.cs → ...meAssistantConnectionHelpersExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...emon.Runtime/Internal/Model/HassHelper.cs → ...HomeAssistant/Model/InputBooleanHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace NetDaemon.Runtime.Internal.Model; | ||
namespace NetDaemon.Client.HomeAssistant.Model; | ||
|
||
internal record InputBooleanHelper | ||
public record InputBooleanHelper | ||
{ | ||
[JsonPropertyName("name")] public string Name { get; init; } = string.Empty; | ||
[JsonPropertyName("name")] public string Name { get; init; } = String.Empty; | ||
[JsonPropertyName("icon")] public string? Icon { get; init; } | ||
[JsonPropertyName("id")] public string Id { get; init; } = string.Empty; | ||
[JsonPropertyName("id")] public string Id { get; init; } = String.Empty; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters