Expand description
Vendor-neutral abstraction for smart-plug devices (Shelly, Tasmota).
switchkit defines the shared device model, error taxonomy, and guardrails
that vendor-specific crates (tasmota-core, shelly-core) implement against,
so consumers can handle any supported device uniformly.
Re-exports§
pub use device::Discovered;pub use device::SmartDevice;pub use discovery::detect_local_cidr;pub use discovery::discover;pub use discovery::hosts_in_cidr;pub use error::Error;pub use error::Result;pub use guardrail::Hazard;pub use guardrail::classify;pub use model::Capabilities;pub use model::DeviceSnapshot;pub use model::Energy;pub use model::Firmware;pub use model::NetInfo;pub use model::PowerAction;pub use model::Relay;pub use model::RelayState;pub use model::Signal;pub use target::DeviceCredentials;pub use target::DeviceTarget;pub use target::Vendor;