Closed holdestmade closed 2 years ago
It's ok I figured it out, just use multiple sections !
{
module: "MMM-HomeAssistantDisplay",
position: "top_right",
config: {
host: "192.168.1.40",
token: "xxxxxxx",
port: 8123,
title: "Pollen",
useModuleTigger: false,
class: "pollen_today",
sections: [{
triggerEntities: [
"sensor.pollen_grass_today"
],
displayTemplate: `
Grass: {{ states.sensor.pollen_grass_today.state }}
`,
class: "pollen_today"
},
{
triggerEntities: [
"sensor.pollen_tree_today"
],
displayTemplate: `
Tree: {{ states.sensor.pollen_tree_today.state }}
`,
class: "pollen_today"
},
{
triggerEntities: [
"sensor.pollen_weede_today"
],
displayTemplate: `
Weed: {{ states.sensor.pollen_weed_today.state }}
`,
class: "pollen_today"
}
]
},
},
Hi, thanks for this module, it's working great.
Was wondering if it is possible to create a list on separate lines, rather than on one line ?
This displayTemplate renders all on one line:
Grass: Zero, Tree: Very Low, Weed: Zero
What I'd like is:
I've tried \n but doesn't work