Skip to content

Commit

Permalink
Update HassMQTT
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMike committed Sep 12, 2021
1 parent b8c5f0c commit 8ffc7e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MBW.BlueRiiot2MQTT/Features/Pool/PoolMeasurementFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected override void CreateSensor(SwimmingPool pool, List<SwimmingPoolLastMea
{
discovery.Name = $"{pool.Name} {_displayName}";
discovery.UnitOfMeasurement = _unit;
discovery.StateClass = "measurement";
discovery.StateClass = HassStateClass.Measurement;
})
.ConfigureAliveService();
}
Expand Down
2 changes: 1 addition & 1 deletion MBW.BlueRiiot2MQTT/MBW.BlueRiiot2MQTT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Enums.NET" Version="3.0.3" />
<PackageReference Include="Humanizer.Core" Version="2.8.26" />
<PackageReference Include="MBW.Client.BlueRiiotAPI" Version="0.8.5" />
<PackageReference Include="MBW.HassMQTT.CommonServices" Version="3.3.1" />
<PackageReference Include="MBW.HassMQTT.CommonServices" Version="3.3.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="3.1.6" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.6" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.6" />
Expand Down

0 comments on commit 8ffc7e5

Please sign in to comment.