Fixed fan speed control in google home
All checks were successful
Build and deploy automation_rs / Run pre-commit checks (push) Successful in 4m41s
Build and deploy automation_rs / Build automation_rs (push) Successful in 4m30s
Build and deploy automation_rs / Build Docker image (push) Successful in 42s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 28s

This commit is contained in:
Dreaded_X 2024-05-26 02:12:13 +02:00
parent d8d348d906
commit 9798d22d73
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -21,7 +21,7 @@ pub struct Device {
} }
#[derive(Debug, Deserialize, Clone)] #[derive(Debug, Deserialize, Clone)]
#[serde(tag = "command", content = "params")] #[serde(tag = "command", content = "params", rename_all = "camelCase")]
pub enum CommandType { pub enum CommandType {
#[serde(rename = "action.devices.commands.OnOff")] #[serde(rename = "action.devices.commands.OnOff")]
OnOff { on: bool }, OnOff { on: bool },