Move Icons to match new background (#118)

This commit is contained in:
Ranlvor 2019-08-08 07:06:12 +02:00 committed by uwap
parent e3fb07eb5e
commit c87e739c60

View file

@ -223,7 +223,7 @@ const config: Config = {
controls: { controls: {
bedroomLight: { bedroomLight: {
name: "Schlafzimmer", name: "Schlafzimmer",
position: [300, 400], position: [180, 130],
icon: mdi("ceiling-light"), icon: mdi("ceiling-light"),
ui: [ ui: [
{ {
@ -258,7 +258,7 @@ const config: Config = {
}, },
bedroomFan: { bedroomFan: {
name: "Lüftung Schlafzimmer", name: "Lüftung Schlafzimmer",
position: [200, 400], position: [140, 25],
icon: mdi("fan"), icon: mdi("fan"),
iconColor: ({fanBedroomState}) => iconColor: ({fanBedroomState}) =>
(fanBedroomState === "on" ? hex("#00FF00") : hex("#000000")), (fanBedroomState === "on" ? hex("#00FF00") : hex("#000000")),
@ -293,7 +293,7 @@ const config: Config = {
}, },
officeSpeaker: { officeSpeaker: {
name: "Lautsprecher", name: "Lautsprecher",
position: [550, 400], position: [245, 658],
icon: ({speakerOfficeState}) => icon: ({speakerOfficeState}) =>
(speakerOfficeState === "on" ? rawMdi("volume-high") (speakerOfficeState === "on" ? rawMdi("volume-high")
: rawMdi("volume-off")), : rawMdi("volume-off")),
@ -310,7 +310,7 @@ const config: Config = {
}, },
officeFan: { officeFan: {
name: "Lüftung Büro", name: "Lüftung Büro",
position: [600, 400], position: [140, 658],
icon: mdi("fan"), icon: mdi("fan"),
iconColor: ({fanOfficeState}) => iconColor: ({fanOfficeState}) =>
(fanOfficeState === "on" ? hex("#00FF00") : hex("#000000")), (fanOfficeState === "on" ? hex("#00FF00") : hex("#000000")),
@ -345,7 +345,7 @@ const config: Config = {
}, },
hallwayLight: { hallwayLight: {
name: "Flur", name: "Flur",
position: [400, 200], position: [520, 370],
icon: mdi("ceiling-light"), icon: mdi("ceiling-light"),
ui: [ ui: [
{ {
@ -366,7 +366,7 @@ const config: Config = {
}, },
livingroomLight: { livingroomLight: {
name: "Wohnzimmer", name: "Wohnzimmer",
position: [300, 200], position: [450, 200],
icon: mdi("ceiling-light"), icon: mdi("ceiling-light"),
ui: ([ ui: ([
{ {
@ -440,7 +440,7 @@ const config: Config = {
{ {
image: require("./assets/layers/rooms.svg"), image: require("./assets/layers/rooms.svg"),
baseLayer: true, baseLayer: true,
name: "Entropia", name: "Uwap Home",
defaultVisibility: "visible", defaultVisibility: "visible",
opacity: 0.7, opacity: 0.7,
bounds: { bounds: {