Hi, I’m trying to map astro items in OpenHAB3 :
astro.things :
Thing astro:sun:local “Internet Astronomie Chaligny” [ geolocation=“48.62680772355118, 6.075575800443163”, interval=15 ]
astro.items :
String AstroSoleilPhaseName_Valeur “Phase du Soleil” [“Status”] {channel=“astro:sun:loacal:phase#name”,stateDescription=""[pattern=“MAP(astro.map):%s”]}
astro.map :
DAYLIGHT=Jour
but in the UI, =items.AstroSoleilPhaseName_Valeur.displayState stay “Daylight”
But in classic UI,
Text item=AstroSoleil {
Frame {
Text item=AstroSoleilPhaseName_Valeur
}
return "Jour " it’s ok !!!
I am desperate ???