fix shelly topic

This commit is contained in:
LastExceed 2024-02-13 14:43:16 +01:00
parent c737afa796
commit d4e2ff7d64

View File

@ -61,6 +61,6 @@ fn get_slave_topic(machine: &str) -> String {
if SLAVE_PROPERTIES[machine][2] {
format!("cmnd/{machine}/Power")
} else {
format!("shellies/{machine}/relay/0")
format!("shellies/{machine}/relay/0/command")
}
}