@CrunkFX gern:
/* my Config
Uli am 12.05.2020
*/
var CONFIG = {
customTheme: CUSTOM_THEMES.COMPACT,
transition: TRANSITIONS.ANIMATED_GPU,
entitySize: ENTITY_SIZES.NORMAL,
tileSize: 150,
tileMargin: 6,
serverUrl: "http://192.168.70.2:8082",
wsUrl: "ws://192.168.70.2:8082/api/websocket",
authToken: null,
timeFormat: 24,
menuePosition: MENU_POSITIONS.LEFT, //oder BOTTOM
//groupsAlign
pages: [
{
title: '@home',
bg: 'images/bg1.jpeg',
icon: 'mdi-home-outline',
header: DEFAULT_HEADER,
groups: [
{
title: 'Group title',
width: 2,
height: 3,
groupMarginCss: '20px 40px',
hidden: Boolean | Function,
items: [
//Start Arbeitszimmer
{
position: [0, 1],
type: TYPES.SWITCH,
id: 'hue-extended.0.groups.006-arbeitszimmer.action.on',
title: 'Arbeitszimmer',
subtitle: 'Schreibtisch',
states: {
on: "On",
off: "Off"
},
icons: {
on: "mdi-lightbulb-on",
off: "mdi-lightbulb",
}
}, //Ende Arbeitszimmer
{
position: [1, 1],
title: 'Arbeitszimmer',
subtitle: 'Dimmer',
id: 'hue-extended.0.groups.006-arbeitszimmer.action.brightness',
type: TYPES.SLIDER,
states: {
on: "On",
off: "Off"
},
icons: {
on: "mdi-lightbulb-on",
off: "mdi-lightbulb",
},
/*sliders: [
{
position: [1, 2],
title: 'Brightness',
field: 'brightness',
id: 'hue-extended.0.groups.006-arbeitszimmer.action.brightness',
type: TYPES.SLIDER,
max: 255,
min: 0,
step: 5,
request: {
type: "call_service",
domain: "light",
service: "turn_on",
field: "brightness"
}
},
{
title: 'Color temp',
field: 'color_temp',
max: 588,
min: 153,
step: 15,
request: {
type: "call_service",
domain: "light",
service: "turn_on",
field: "color_temp"
}
}
],*/
//colorpicker: true
},
], //Ende Items
}, // Ende Groups
], // Ende Groups
}, //Ende Pages
] //Ende Pages
// ENDE
}