This commit is contained in:
Ranlvor 2019-07-20 00:36:01 +02:00
parent 92b63a7d01
commit 9aa5646d8b
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -263,7 +263,8 @@ const config: Config = {
name: "Lautsprecher", name: "Lautsprecher",
position: [550, 400], position: [550, 400],
icon: ({speakerOfficeState}) => icon: ({speakerOfficeState}) =>
(speakerOfficeState === "on" ? rawMdi("volume-high") : rawMdi("volume-off")), (speakerOfficeState === "on" ? rawMdi("volume-high")
: rawMdi("volume-off")),
iconColor: ({speakerOfficeState}) => iconColor: ({speakerOfficeState}) =>
(speakerOfficeState === "on" ? hex("#00FF00") : hex("#000000")), (speakerOfficeState === "on" ? hex("#00FF00") : hex("#000000")),
ui: [ ui: [