Add Aqua Computer high flow NEXT support (#1268)
* Add support for electrical conductivity measurements * Add Aqua Computer high flow NEXT support * Expose alarm flags as hidden binary sensors * Update HighFlowNext.cs * Update ISensor.cs --------- Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
This commit is contained in:
co-authored by
PhyxionNL
parent
df5a9533cc
commit
83af117ea4
@@ -174,6 +174,7 @@ public class SensorNotifyIcon : IDisposable
|
||||
case SensorType.SmallData:
|
||||
case SensorType.Factor:
|
||||
case SensorType.Throughput:
|
||||
case SensorType.Conductivity:
|
||||
return $"{Sensor.Value:F1}";
|
||||
case SensorType.Control:
|
||||
case SensorType.Frequency:
|
||||
@@ -260,8 +261,10 @@ public class SensorNotifyIcon : IDisposable
|
||||
case SensorType.Factor: format = "\n{0}: {1:F3} GB"; break;
|
||||
case SensorType.Energy: format = "\n{0}: {0:F0} mWh"; break;
|
||||
case SensorType.Noise: format = "\n{0}: {0:F0} dBA"; break;
|
||||
case SensorType.Conductivity: format = "\n{0}: {0:F1} µS/cm"; break;
|
||||
case SensorType.Humidity: format = "\n{0}: {0:F0} %"; break;
|
||||
}
|
||||
|
||||
string formattedValue = string.Format(format, Sensor.Name, Sensor.Value);
|
||||
|
||||
if (Sensor.SensorType == SensorType.Temperature && _unitManager.TemperatureUnit == TemperatureUnit.Fahrenheit)
|
||||
|
||||
Reference in New Issue
Block a user