v0.14.2-connectivity
This commit is contained in:
+2
-1
@@ -4,12 +4,13 @@ use reqwest::Client;
|
||||
use serde_json::Value;
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::models::{EnergyReading, HaReading, InfluxDbSettings, Reading, ZoneReading};
|
||||
use crate::models::{EnergyReading, HaReading, InfluxDbSettings, NetworkReading, Reading, ZoneReading};
|
||||
|
||||
const DEVICE_MEASUREMENT: &str = "gree_device";
|
||||
const ZONE_MEASUREMENT: &str = "gree_zone";
|
||||
const HA_MEASUREMENT: &str = "gree_ha";
|
||||
const ENERGY_MEASUREMENT: &str = "gree_energy";
|
||||
const NETWORK_MEASUREMENT: &str = "gree_network";
|
||||
|
||||
// Functional source split intentionally keeps items in the existing module namespace.
|
||||
include!("influxdb/write.rs");
|
||||
|
||||
Reference in New Issue
Block a user