the template results in Luna Calante (waning crescent) which is what you feed it in the template itself, based on the state of the ‘mother’ sensor.fase_lunare
what is the issue now? Are you saying the sensor.fase_lunare has an incorrect state? Or do you see an issue in the template?
If you add the “Moon” integration using the UI, the entity is named sensor.moon_phase by default.
That is what I used in my examples.
You should of course use the name as you set it up on your system.
never blindly copy other peoples code, but always adapt to your personal setting/liking
besides that, for troubleshooting issues, it’s also always better to post the entity in dev tools/states and not a screenshot of some card in the frontend. Simply because we cant even see which entity your have in the card. Is it the original, or the template…
in this particular case: you are making life difficult with all those naming changes. your HA system sensor entity_id is sensor.fase_lunare, you are using a unique_id: moon_phases, and yet there is a Luna name in the card…
btw, testing this card, I now discover that the entity card doesnt show the entry_picture at all? I never use these entity cards…
clicking the entity to reveal more-info shows fine, but the entity card itself does:
As I mentioned earlier, if you want to have the state in Italian, you should use the template with the mapper on the state. Currently you simply use the state of the base sensor, which is in English.
Also, in the Lovelace card, you set a name. With that, you overwrite the actual sensor name, which has the templates Italian trnslation ……
Lastly, I would advice you to use lowercase unique_id’s without spaces, ( and use the _ )
please post yaml in a code block, and don’t post screenshots. we can not copy those to edit errors.
select some code, then use the icon </> in the toolbar .
on the state in English, well, this is a template sensor, you can template any of the options. State and name, it just returns what you configure it to do. What do you want in the second line?
the Tile card is just not that useful here, check what it does in my config: