From 9798d22d73f0a99a64236ef68755847a48c6e9dd Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 26 May 2024 02:12:13 +0200 Subject: [PATCH] Fixed fan speed control in google home --- google-home/src/request/execute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 },