Custom card help!

'm trying to write a card with a list of TV channels.

I managed to write the card code and the relative configuration in ![custom card|689x279] lovelace.

but I can’t define a channel for each mapped entity.

I only managed to make the card read “this.config.number”, but obviously all entities give me the same value. how do I get them to read the number value of each entity (those circled in red)?