show mic state on lamp color, too
This commit is contained in:
parent
cbc3084eff
commit
9e8765711a
1 changed files with 2 additions and 2 deletions
|
|
@ -749,9 +749,9 @@ const config: Config = {
|
||||||
icon: withState((s) => (
|
icon: withState((s) => (
|
||||||
svg(icons.mdiCeilingLight).color(
|
svg(icons.mdiCeilingLight).color(
|
||||||
s["hallway2State"] === "on" ?
|
s["hallway2State"] === "on" ?
|
||||||
(s["tadpole_webcam"] == "on" ? hex("#FF0000") : s["twitch_status_uwap"] === "on" ? hex("#FF00FF") : hex("#00FF00"))
|
(s["tadpole_webcam"] == "on" ? hex("#FF0000") : s["tadpole_mic"] == "on" ? hex("#0000FF") : s["twitch_status_uwap"] === "on" ? hex("#FF00FF") : hex("#00FF00"))
|
||||||
:
|
:
|
||||||
(s["tadpole_webcam"] == "on" ? hex("#990000") : s["twitch_status_uwap"] === "on" ? hex("#990099") : hex("#000000"))
|
(s["tadpole_webcam"] == "on" ? hex("#990000") : s["tadpole_mic"] == "on" ? hex("#000099") : s["twitch_status_uwap"] === "on" ? hex("#990099") : hex("#000000"))
|
||||||
))),
|
))),
|
||||||
ui: [
|
ui: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue