clean
This commit is contained in:
parent
0077eaddb1
commit
fb6edfe83e
|
@ -26,9 +26,10 @@ enum Commands {
|
|||
async fn main() -> Result<(), HomekitError> {
|
||||
env_logger::init();
|
||||
let args = Args::parse();
|
||||
|
||||
if args.pairing_data.is_file() {
|
||||
let controller = HomekitController::load(args.pairing_data)?;
|
||||
// println!("{controller:#?}");
|
||||
|
||||
controller.connect_to(&args.device_name).await?;
|
||||
} else {
|
||||
log::error!("{:?} is not a file!", args.pairing_data)
|
||||
|
|
Loading…
Reference in a new issue