-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add placeholder HomeAssistantGenerated.cs (#70)
- Loading branch information
1 parent
de8f2af
commit 7b51ba0
Showing
4 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/NetDaemon.Templates.Project/templates/netdaemon/HomeAssistantGenerated.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
//------------------------------------------------------------------------------ | ||
// This is a placeholder for the HomeAssistantGenerated.cs file that will be generated when running nd-codegen | ||
// | ||
// To update this file with latest entities run this command in your project directory: | ||
// dotnet tool run nd-codegen | ||
// | ||
// In the template projects we provided a convenience powershell script that will update | ||
// the codegen and nugets to latest versions update_all_dependencies.ps1. | ||
// | ||
// For more information: https://netdaemon.xyz/docs/user/hass_model/hass_model_codegen | ||
// For more information about NetDaemon: https://netdaemon.xyz/ | ||
//------------------------------------------------------------------------------ | ||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace HomeAssistantGenerated; | ||
public static class GeneratedExtensions | ||
{ | ||
///<summary>Dummy implementation of AddHomeAssistantGenerated()</summary> | ||
///<remarks>Run nd-codegen to overwrite this file</remarks> | ||
public static IServiceCollection AddHomeAssistantGenerated(this IServiceCollection serviceCollection) | ||
{ | ||
return serviceCollection; | ||
} | ||
} |
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
24 changes: 24 additions & 0 deletions
24
src/NetDaemon.Templates.Project/templates/netdaemon_src/HomeAssistantGenerated.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
//------------------------------------------------------------------------------ | ||
// This is a placeholder for the HomeAssistantGenerated.cs file that will be generated when running nd-codegen | ||
// | ||
// To update this file with latest entities run this command in your project directory: | ||
// dotnet tool run nd-codegen | ||
// | ||
// In the template projects we provided a convenience powershell script that will update | ||
// the codegen and nugets to latest versions update_all_dependencies.ps1. | ||
// | ||
// For more information: https://netdaemon.xyz/docs/user/hass_model/hass_model_codegen | ||
// For more information about NetDaemon: https://netdaemon.xyz/ | ||
//------------------------------------------------------------------------------ | ||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace HomeAssistantGenerated; | ||
public static class GeneratedExtensions | ||
{ | ||
///<summary>Dummy implementation of AddHomeAssistantGenerated()</summary> | ||
///<remarks>Run nd-codegen to overwrite this file</remarks> | ||
public static IServiceCollection AddHomeAssistantGenerated(this IServiceCollection serviceCollection) | ||
{ | ||
return serviceCollection; | ||
} | ||
} |
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