Started work on fullfillment of requests
This commit is contained in:
11
google-home/src/attributes.rs
Normal file
11
google-home/src/attributes.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use serde::Serialize;
|
||||
use serde_with::skip_serializing_none;
|
||||
|
||||
#[skip_serializing_none]
|
||||
#[derive(Debug, Default, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Attributes {
|
||||
pub command_only_on_off: Option<bool>,
|
||||
pub query_only_on_off: Option<bool>,
|
||||
pub scene_reversible: Option<bool>,
|
||||
}
|
||||
Reference in New Issue
Block a user