That just means your build machine ran out of RAM. I presume you’re running the ESPHome addon in HA, you need more RAM. Build
on your desktop or laptop instead.
Good that you got it to work.
I also have another working example for resistive touch.
The reason that no entities show up in Home assistant is that no entities are defined in the display yaml.
Try to declare at text sensor like this:
text_sensor:
- platform: template
name: "My Text"
id: my_text_sensor
When the dropdown selection changes, on_value is triggered and the selected text is returned in x,
Update then your text sensor when the dropdown selection changes by adding the following code to your dropdown code:
on_value:
- text_sensor.template.publish:
id: my_text_sensor
state: !lambda return x;
Please let me know if you got it working
If you like, tell me about your plan for the display, what do you want to display, interact, get values from Home Assistant ad send values back to Home assistant etc. and I might be able to help you further.