${
stateObj.attributes.forecast.slice(0, 5).map(
daily => html`
${
new Date(daily.datetime).toLocaleDateString(
lang,
{
weekday: "short"
}
)
}
${daily.temperature}${
this.getUnit("temperature")
}
${
typeof daily.templow !== 'undefined'
? html`
${daily.templow}${
this.getUnit("temperature")
}
`
: ""
}
`
)
}
`
: ""
}