@TheCrey wrote:
Hi all,
I hope you are fine.
I have a kind of a strange issue here.I want to see the % of charge left in my car as badge.
This is working fine, but I can see the number itself just the %.
If I click on it, I can see the exact percentage number.
So, here is a pic of the issue, and the template code itself, I hope you can help me here:
This is only if I use a custom image, if not, there is the number in big letters where the picture normally is.
- platform: rest resource: "https://XXXXXXX.de/cc/v0.1/status/vehicles/VINKMHC851HFHXXXXXXX" name: "XX-XX-XXXX Ladestand - Hyundai Ioniq" scan_interval: 60 force_update: true value_template: > {% for i in value_json.eventStatusList %} {% if i.eventType == 'ENERGY_LEVEL' %} {{ i.eventData.value }} {% endif %} {% endfor %} unit_of_measurement: '%' headers: Authorization: "XXXXXXXXXXXXXX" content-language: "en_US"
Posts: 1
Participants: 1