TileBoard
TileBoard copied to clipboard
Hidden function in HEADER_ITEMS.WEATHER not have state argument
Hi all ,
Best wishes for this New Year !
Is it possible to have in the HEADER_ITEMS.WEATHER, the possibility to have the hidden function with state argument ?
At this time, i have :
hidden : function(item, state) {
// State is empty / unaivalable
}
We want hide an element from state :
{
type: HEADER_ITEMS.WEATHER,
state: "&binary_sensor.porte_d_entree.state",
states: {
on: "- Porte d'entrée ouverte",
off: "- Porte d'entrée fermée", // Don't wont show this
},
},
Thanks you so much for this tileboard, is very good !
Best regards,