Small cleanup
All checks were successful
Build and deploy / build (push) Successful in 8m53s
Build and deploy / Deploy container (push) Successful in 39s

This commit is contained in:
2025-08-31 23:50:46 +02:00
parent 45de83ef2f
commit a0eccc1a53

View File

@@ -2,7 +2,6 @@ use std::fmt::Debug;
use automation_cast::Cast;
use dyn_clone::DynClone;
use google_home::traits::OnOff;
use mlua::ObjectLike;
use crate::event::OnMqtt;
@@ -18,7 +17,7 @@ pub trait LuaDeviceCreate {
}
pub trait Device:
Debug + DynClone + Sync + Send + Cast<dyn google_home::Device> + Cast<dyn OnMqtt> + Cast<dyn OnOff>
Debug + DynClone + Sync + Send + Cast<dyn google_home::Device> + Cast<dyn OnMqtt>
{
fn get_id(&self) -> String;
}