Skip to content

Commit

Permalink
Added missing TemperatureReport property for #312
Browse files Browse the repository at this point in the history
  • Loading branch information
michielpost committed Dec 14, 2023
1 parent c6f0a9c commit 43dd2a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HueApi/HueApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
<Version>1.5.2</Version>
<Version>1.5.3</Version>
<Authors>Michiel Post</Authors>
<Description>For Clip v2 API. Open source library for interaction with the Philips Hue Bridge. Allows you to control your lights from C#.</Description>
<PackageProjectUrl>https://github.com/michielpost/Q42.HueApi</PackageProjectUrl>
Expand Down
3 changes: 3 additions & 0 deletions src/HueApi/Models/Sensors/TemperatureResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public class Temperature
[JsonPropertyName("temperature_valid")]
public bool TemperatureValid { get; set; }

[JsonPropertyName("temperature_report")]
public TemperatureReport TemperatureReport { get; set; } = default!;

}

public class TemperatureReport
Expand Down
2 changes: 1 addition & 1 deletion src/HueDiagnostics/HueDiagnostics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CompareNETObjects" Version="4.82.0" />
<PackageReference Include="CompareNETObjects" Version="4.83.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
</ItemGroup>
Expand Down

0 comments on commit 43dd2a3

Please sign in to comment.