RZL: Use the light switch icon instead of remote

This commit is contained in:
uwap 2018-06-24 16:55:44 +02:00 committed by GitHub
parent fdce5b9645
commit 6a5bf85c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -762,7 +762,7 @@ const config : Config = {
remotes: {
name: "Fernbedinungen",
position: [400, 348],
icon: mdi("remote"),
icon: mdi("light-switch"),
iconColor: (state) => //if any remote is low make icon red
["65536", "65542", "65546", "65547"].some(
x => state[tradfri_remote.low(x)] == "true") ? hex("#ff0000") : hex("#000000"),