1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! MyTotalConnectComfort API Client
//!
//! An async Rust client library for the **International Honeywell Evohome** heating system,
//! provided by **Resideo** (who licensed the Honeywell brand).
//!
//! # Example
//!
//! ```no_run
//! use evohome_rs::Client;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let mut client = Client::new();
//!
//! // Authenticate
//! client.login("user@example.com", "password").await?;
//!
//! // Get locations
//! let locations = client.get_locations().await?;
//!
//! // Get system status
//! let system = client.get_location_system(&locations[0].id).await?;
//!
//! // Set temperature
//! client.set_zone_temperature(
//! &system.zones[0].id,
//! 21.0,
//! true, // permanent
//! 0, // hours
//! 0, // minutes
//! false, // is_following_schedule
//! ).await?;
//!
//! Ok(())
//! }
//! ```
//!
//! # Features
//!
//! - Async/await API using tokio
//! - Type-safe models with serde
//! - Comprehensive error handling
//! - Session management with cookies
//! - All API endpoints implemented
//!
//! # About
//!
//! This library targets the international version of the Evohome system
//! (`international.mytotalconnectcomfort.com`). North American systems may use different APIs.
pub use Client;
pub use ;
pub use ;
pub use ;