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
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:
parent
d8d348d906
commit
9798d22d73
|
@ -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 },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user