Add sensor state in Bme680 sensor telemetry
This commit is contained in:
parent
f5823f8c57
commit
6de612d55d
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ namespace NucuCar.Sensors.EnvironmentSensor
|
|||
{
|
||||
returnValue = new Dictionary<string, object>
|
||||
{
|
||||
["sensor_state"] = _sensorStateEnum,
|
||||
["temperature"] = _lastMeasurement.GetValueOrDefault("temperature"),
|
||||
["humidity"] = _lastMeasurement.GetValueOrDefault("humidity"),
|
||||
["pressure"] = _lastMeasurement.GetValueOrDefault("pressure"),
|
||||
|
|
Loading…
Reference in a new issue