1786110682
This commit is contained in:
@@ -102,12 +102,6 @@ pub struct CalendarEvent {
|
||||
pub sort_epoch: i64,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct BatteryState {
|
||||
pub level: u8,
|
||||
pub kind: &'static str,
|
||||
}
|
||||
|
||||
impl HaClient {
|
||||
pub fn from_environment() -> Result<Self, String> {
|
||||
let base_url = std::env::var("HASS_URL")
|
||||
|
||||
Reference in New Issue
Block a user