Text Sensor has no data

I have been using a 7.5 epaper display for a while now and show different values of some enities like power produced by my photovoltaic system.
Now I installed a new 2.13 epaper display with a ESP8266.
Describing text is shown correct on the display, but the text sensor I use keeps empty. I use the same settings in the 7.5 display where it is working perfect:
Here parts of the used code:

text_sensor:

  - platform: homeassistant
    id: verbrauch
    entity_id: sensor.shellypro3em_0cb815fd5088_total_active_power
    internal: true
    lambda: |-
      it.print(0, 10, id(status_font), "Bezug:");
      it.printf(20, 60, id(status_font), TextAlign::BOTTOM_LEFT, "%s W", id(verbrauch).state.c_str());  

The word “Bezug” and the char “W” is shown at the display, but not the id(verbrauch)

Why does it work on the other display and not at the smaler one?

So its showing the correct sensor value but, its not printing the name/id of the sensor that goes with the sensor value?

You might tey setting an actual (name:) for the sensor or at the very least just type the name you want printed with the value. You can manually add a static string into the printf command

I’m not sure what you mean.
Here an image how it looks on my display:

Oh, I thought you were saying it was showing a sensor value(123.12) but no sensor name with it. Have you verified that HA text sensor is showing any state/text for the Shelly sensor? I’m not seeing anything noticeably wrong with the printf statement. Make sure your Text sensor is getting data.

I’m using the same sensor config for the already working 7.5" display:

  - platform: homeassistant
    id: verbrauch
    entity_id: sensor.shellypro3em_0cb815fd5088_total_active_power
    internal: true

In the configuration.yaml the sensor is not defined, but in the developer section it has a value.

Could this be a problem, using the same sensor id?
The 7.5" working display works with an ESP32. The 2.13 runs with a ESP8266, but this should be working also, shouldn’t it?

Ok, I found the issue - was a silly mistake. As I integrated the device in homeassistant there seems to be an issue, because as I had a look at the EPS devices the new one was not configured. After configured it again it displays the data.