Correct yaml bool syntax

This commit is contained in:
Denis Zheleztsov 2023-06-14 14:19:30 +03:00
parent 0edd2a0685
commit 4b07365306
Signed by: Difrex
GPG Key ID: D423378A747E202E

View File

@ -83,8 +83,8 @@ impl PowerSocket {
fn get_string_state(&self) -> String {
let s = match self.get_state() {
PowerState::Off => String::from("OFF"),
PowerState::On => String::from("ON"),
PowerState::Off => String::from("off"),
PowerState::On => String::from("on"),
};
s
}