Skip to content

Commit

Permalink
Merge 76f0bdc into 7a297ed
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Apr 8, 2020
2 parents 7a297ed + 76f0bdc commit ed3c926
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/App/NetDaemon.App/Common/Fluent/Fluent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,10 @@ async Task IScript.ExecuteAsync()
var taskList = new List<Task>();
foreach (var scriptName in EntityIds)
{
var task = Daemon.CallService("script", scriptName);
var name = scriptName;
if (scriptName.Contains('.'))
name = scriptName[(scriptName.IndexOf('.') + 1)..];
var task = Daemon.CallService("script", name);
taskList.Add(task);
}

Expand Down
2 changes: 1 addition & 1 deletion src/App/NetDaemon.App/NetDaemon.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JoySoftware.HassClient" Version="0.0.24-alpha" />
<PackageReference Include="JoySoftware.HassClient" Version="0.0.25-alpha" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.1" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Daemon/NetDaemon.Daemon/NetDaemon.Daemon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

</PropertyGroup>
<ItemGroup>
<PackageReference Include="JoySoftware.HassClient" Version="0.0.24-alpha" />
<PackageReference Include="JoySoftware.HassClient" Version="0.0.25-alpha" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.1" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/DaemonRunner/DaemonRunner/DaemonRunner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

</PropertyGroup>
<ItemGroup>
<PackageReference Include="JoySoftware.HassClient" Version="0.0.24-alpha" />
<PackageReference Include="JoySoftware.HassClient" Version="0.0.25-alpha" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.5.0" />
<!-- <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.5.0-beta2-final" /> -->
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.1" />
Expand Down

0 comments on commit ed3c926

Please sign in to comment.