//! Sensor information or information fetched from the internet.

pub struct Information {
    pub time: u32,
    pub valid: bool,

    pub inside: Option<TemperatureHumidity>,
    pub outside: Option<TemperatureHumidity>,
    pub bathroom: Option<TemperatureHumidity>,

    pub pressure: Option<u32>,
}

#[derive(Copy, Clone)]
pub struct TemperatureHumidity {
    pub temperature: i32,
    pub humidity: u32,
}
