Thanks @Marauder2 I’ve attached a snippet of my code for the first page. As to why your sliders aren’t working, im not too sure. As mentioned I don’t really know JS and how it works but maybe your indentation isn’t correct… not sure if that makes a difference in JS. I added a brightness slider to my lamp light.lisa and it worked straight away.
{
title: 'Living Room',
width: 2,
height: 4,
items: [
{
position: [0, 0],
type: TYPES.SCRIPT,
id: "script.open_living_blinds",
title: 'Open Blinds',
icons: {
on: "mdi-chevron-up",
off: "mdi-chevron-up"
},
state: false
},
{
position: [1, 0],
type: TYPES.SCRIPT,
id: "script.close_living_blinds",
title: 'Close Blinds',
icons: {
on: "mdi-chevron-down",
off: "mdi-chevron-down"
},
state: false
},
{
position: [0, 1],
type: TYPES.SCRIPT,
id: "script.favorite_living_blinds",
title: 'Favorite Blinds',
icons: {
on: "mdi-star",
off: "mdi-star"
},
state: false
},
{
position: [1, 1],
type: TYPES.SCRIPT,
id: "script.stop_living_blinds",
title: 'Stop Blinds',
icons: {
on: "mdi-stop",
off: "mdi-stop"
},
state: false
},
{
position: [0, 2],
width: 1,
type: TYPES.SWITCH,
id: "switch.front_yard_light_61", // replace it with real string id (e.g. "switch.lights")
states: {on: 'Enabled', off: 'Disabled'}, // Object example
states: function (item, entity) {return entity.state}, // Function example
title: 'Front Yard Light',
icons: {'off': 'mdi-lightbulb', 'on': 'mdi-lightbulb-on'}
},
{
position: [1, 2],
width: 1,
type: TYPES.SWITCH,
id: "switch.garage_door_opener_131", // replace it with real string id (e.g. "switch.lights")
states: {on: 'Enabled', off: 'Disabled'}, // Object example
states: function (item, entity) {return entity.state}, // Function example
title: 'Garage Door',
icons: {'off': 'mdi-garage', 'on': 'mdi-garage-open'}
},
]
},
{
title: 'Main Bed',
width: 2,
height: 4,
items: [
{
position: [0, 0],
type: TYPES.SCRIPT,
id: "script.open_blinds",
title: 'Open Blinds',
icons: {
on: "mdi-chevron-up",
off: "mdi-chevron-up"
},
state: false
},
{
position: [1, 0],
type: TYPES.SCRIPT,
id: "script.close_blinds",
title: 'Close Blinds',
icons: {
on: "mdi-chevron-down",
off: "mdi-chevron-down"
},
state: false
},
{
position: [0, 1],
type: TYPES.SCRIPT,
id: "script.favorite_blinds",
title: 'Favorite Blinds',
icons: {
on: "mdi-star",
off: "mdi-star"
},
state: false
},
{
position: [1, 1],
type: TYPES.SCRIPT,
id: "script.stop_blinds",
title: 'Stop Blinds',
icons: {
on: "mdi-stop",
off: "mdi-stop"
},
state: false
},
{
position: [0, 2],
type: TYPES.SCRIPT,
id: "script.open_blockout_blind",
title: 'Open Blockout',
icons: {
on: "mdi-chevron-up",
off: "mdi-chevron-up"
},
state: false
},
{
position: [1, 2],
type: TYPES.SCRIPT,
id: "script.close_blockout_blind",
title: 'Close Blockout',
icons: {
on: "mdi-chevron-down",
off: "mdi-chevron-down"
},
state: false
},
{
position: [0, 3],
width: 1,
type: TYPES.LIGHT,
id: "light.lisa", // replace it with real string id (e.g. "switch.lights")
states: {on: 'Enabled', off: 'Disabled'}, // Object example
states: function (item, entity) {return entity.state}, // Function example
title: 'Lisas Lamp',
icons: {'off': 'mdi-lightbulb', 'on': 'mdi-lightbulb-on'},
sliders: [
{
title: 'Brightness',
field: 'brightness',
max: 100,
min: 0,
step: 5,
request: {
type: "call_service",
domain: "light",
service: "turn_on",
field: "brightness"
}
}
]
},
{
position: [1, 3],
width: 1,
type: TYPES.SWITCH,
id: "light.adam", // replace it with real string id (e.g. "switch.lights")
states: {on: 'Enabled', off: 'Disabled'}, // Object example
states: function (item, entity) {return entity.state}, // Function example
title: 'Adams Lamp',
icons: {'off': 'mdi-lightbulb', 'on': 'mdi-lightbulb-on'}
},
]
}
]
},