Add the route to delete a relay
This commit is contained in:
@ -106,9 +106,9 @@ pub struct DeviceRelay {
|
||||
/// Optional minimal runtime requirements for this relay
|
||||
daily_runtime: Option<DailyMinRuntime>,
|
||||
/// Specify relay that must be turned on before this relay can be started
|
||||
depends_on: Vec<DeviceRelayID>,
|
||||
pub depends_on: Vec<DeviceRelayID>,
|
||||
/// Specify relays that must be turned off before this relay can be started
|
||||
conflicts_with: Vec<DeviceRelayID>,
|
||||
pub conflicts_with: Vec<DeviceRelayID>,
|
||||
}
|
||||
|
||||
impl DeviceRelay {
|
||||
|
Reference in New Issue
Block a user