mirror of
https://github.com/LastExceed/spacermake.git
synced 2025-03-12 06:51:43 +01:00
fix shelly topic
This commit is contained in:
parent
c737afa796
commit
d4e2ff7d64
@ -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")
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user