RZL: Adjust Icon Positions

This commit is contained in:
uwap 2018-07-18 09:13:18 +02:00
parent e16a284d70
commit a6832f94ad

View file

@ -266,7 +266,7 @@ const config: Config = {
...onkyo.controls, ...onkyo.controls,
led_stahltrager: { led_stahltrager: {
name: "LED Stahlträger", name: "LED Stahlträger",
position: [380, 590], position: [340, 590],
icon: mdi("white-balance-iridescent"), icon: mdi("white-balance-iridescent"),
iconColor: ({led_stahltraeger}) => led_stahltraeger == "on" ? rainbow : hex("#000000"), iconColor: ({led_stahltraeger}) => led_stahltraeger == "on" ? rainbow : hex("#000000"),
ui: [ ui: [
@ -309,7 +309,7 @@ const config: Config = {
}, },
fan: { fan: {
name: "Ventilator", name: "Ventilator",
position: [520, 450], position: [530, 440],
icon: mdi("fan"), icon: mdi("fan"),
iconColor: ({fan}) => fan == "on" ? hex("#00FF00") : hex("#000000"), iconColor: ({fan}) => fan == "on" ? hex("#00FF00") : hex("#000000"),
ui: [ ui: [
@ -323,7 +323,7 @@ const config: Config = {
}, },
cashdesk: { cashdesk: {
name: "Cashdesk", name: "Cashdesk",
position: [500, 470], position: [510, 467],
icon: mdi("coin"), icon: mdi("coin"),
ui: [ ui: [
{ {
@ -384,7 +384,7 @@ const config: Config = {
}, },
flyfry: { flyfry: {
name: "Fliegenbratgerät", name: "Fliegenbratgerät",
position: [450, 590], position: [450, 570],
icon: mdi("fire"), icon: mdi("fire"),
iconColor: ({flyfry}) => flyfry == "on" ? hex("#6666FF") : hex("#000000"), iconColor: ({flyfry}) => flyfry == "on" ? hex("#6666FF") : hex("#000000"),
ui: esper_statistics("flyfry", [ ui: esper_statistics("flyfry", [
@ -398,7 +398,7 @@ const config: Config = {
}, },
projector: { projector: {
name: "Beamer", name: "Beamer",
position: [415, 590], position: [380, 590],
icon: mdi("projector flip-v"), icon: mdi("projector flip-v"),
iconColor: ({projector}) => iconColor: ({projector}) =>
({ ({