Shelly Binding

All right, thanks for your understanding.
The questions come from the original question, so it ended up here. I have read the section a few times, but unfortunately I am lacking a concrete example of how to use an itemValue to call up the correct image.
saw some widgets that they were solved as I originally had it, namely with if itemValue == xy then icon XY and so on.
That’s why I think markus’ notation is so good, but I didn’t understand how I could get it directly with itemValue. The <RF_Signal_item> already has the correct format, unfortunately not for the battery, which is why I have to adjust it first.

<name>-<state>.<extension>

so how the

<state>

is written with itemValue() | number:0 adjustment… cus this is not right

icon="'batterylevel-{{itemValue(config.Battery_item)| number:0}}'"

its a Syntax Problem, not i Item problem in general
you know what i mean?