Open sebyoga opened 2 years ago
Haven't tried it in a HEADER_ITEM
but if you use Javascript templates you might be able to do
{
type: HEADER_ITEMS.CUSTOM_HTML,
html: `<b>Alarme de la maison ${this.states['alarm_control_panel.montevrain_alarm'].state}</b>`,
styles: { fontSize: "25px" },
},
Hi all,
In the screesaver, i want to load an state of one sensor. For this, i use the HEADER_ITEMS.WEATHER, works but not use friendly.
Is it possible to create an new item used for show an state with an icon ?
Can you add the possibility to load an state in the : HEADER_ITEMS.CUSTOM_HTML (same has customHtml) ?
The &alarm_control_panel.montevrain_alarm.state is printed :/
Thanks you so much :)
Best regards,