Files
hemma/backend/src/tasks/lights/scripts/mod.rs
2023-12-03 17:52:38 +01:00

13 lines
279 B
Rust

use common::{BulbPrefs, Param};
use lighter_lib::BulbId;
mod party;
mod waker;
pub use party::Party;
pub use waker::Waker;
pub trait LightScript {
fn get_params(&mut self, bulb: &BulbId) -> BulbPrefs;
fn set_param(&mut self, bulb: &BulbId, name: &str, value: Param);
}