fix flow errors
This commit is contained in:
parent
2728e082bd
commit
13edfeb154
2 changed files with 4 additions and 4 deletions
|
|
@ -211,9 +211,9 @@ const config: Config = {
|
|||
}
|
||||
},
|
||||
//Tasmota-Dosen
|
||||
tasmota.topics(2, "olymp_printer"),
|
||||
tasmota.topics(6, "snackbar"),
|
||||
tasmota.topics(7, "infoscreen"),
|
||||
tasmota.topics("2", "olymp_printer"),
|
||||
tasmota.topics("6", "snackbar"),
|
||||
tasmota.topics("7", "infoscreen"),
|
||||
|
||||
//Kuechen-Floalts
|
||||
floalt.topics("65537"),
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ export const tasmota = {
|
|||
defaultValue: "offline"
|
||||
},
|
||||
}),
|
||||
icon_color: (name: string, on_color: Color = hex("#00FF00")) => (state) => state[`${name}_online`] == "offline" ? hex("#888888") : (state[name] == "on" ? on_color : hex("#000000"))
|
||||
icon_color: (name: string, on_color: Color = hex("#00FF00")) => (state: State) => state[`${name}_online`] == "offline" ? hex("#888888") : (state[name] == "on" ? on_color : hex("#000000"))
|
||||
}
|
||||
export const floalt = {
|
||||
color: (light_id: string) => `floalt_${light_id}_color`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue