diff --git a/google-home/src/request/execute.rs b/google-home/src/request/execute.rs index 0d67bcf..488c8ad 100644 --- a/google-home/src/request/execute.rs +++ b/google-home/src/request/execute.rs @@ -21,7 +21,7 @@ pub struct Device { } #[derive(Debug, Deserialize, Clone)] -#[serde(tag = "command", content = "params")] +#[serde(tag = "command", content = "params", rename_all = "camelCase")] pub enum CommandType { #[serde(rename = "action.devices.commands.OnOff")] OnOff { on: bool },