add water todo
This commit is contained in:
@@ -254,6 +254,7 @@ fn tank_info(
|
||||
let mut board = BOARD_ACCESS.lock().unwrap();
|
||||
let config = board.get_config()?;
|
||||
let tank_info = determine_tank_state(&mut board, &config);
|
||||
//should be multsampled
|
||||
let water_temp = board.water_temperature_c();
|
||||
Ok(Some(serde_json::to_string(
|
||||
&tank_info.as_mqtt_info(&config.tank, water_temp),
|
||||
|
Reference in New Issue
Block a user