Skip to content

Commit

Permalink
v1.4.0-beta.45
Browse files Browse the repository at this point in the history
- Fixes JSON serialization issue affecting statistics API
  • Loading branch information
genemars committed Sep 6, 2023
1 parent 7707fa3 commit 6821994
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ string GetDbName()
</Description>
<Group>Data Processing</Group>
<Features />
<AutoRestartEnabled>true</AutoRestartEnabled>
<AutoRestartEnabled>false</AutoRestartEnabled>
<Cloneable>false</Cloneable>
<Type>csharp</Type>
<IsEnabled>true</IsEnabled>
Expand Down Expand Up @@ -1311,4 +1311,4 @@ while (Program.IsRunning)
<Type>csharp</Type>
<IsEnabled>false</IsEnabled>
</ProgramBlock>
</ArrayOfProgramBlock>
</ArrayOfProgramBlock>
Binary file modified assets/build/all/homegenie_factory_config.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/build/all/systemconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<Password></Password>
<Location>{ name: 'Rome, RM, Italia', latitude: 41.90278349999999, longitude: 12.496365500000024 }</Location>
<GUID></GUID>
<EnableLogFile>true</EnableLogFile>
<EnableLogFile>false</EnableLogFile>
</HomeGenie>
<MigService>
<Gateways>
Expand Down
2 changes: 1 addition & 1 deletion src/HomeGenie/HomeGenie.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<PackageReference Include="KNX.net" Version="1.1.10" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="6.0.2" />
<PackageReference Include="Microsoft.NETCore.Platforms" Version="6.0.11" />
<PackageReference Include="MIG" Version="1.2.15" />
<PackageReference Include="MIG" Version="1.2.16" />
<PackageReference Include="MIG.HomeAutomation" Version="1.2.19" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SerialPortStream" Version="2.4.1" />
Expand Down
1 change: 1 addition & 0 deletions src/HomeGenie/Service/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ public static string Module2Json(Module module, bool hideProperties)
return JsonConvert.SerializeObject(module.Clone(), settings);
}

// TODO: deprecate this method if not used
public static string JsonEncode(string fieldValue)
{
if (fieldValue == null)
Expand Down

0 comments on commit 6821994

Please sign in to comment.