Sensor value from homeassistant not readable for ST7735 (SOLVED)

The problem is not your issue itself but how you present your code which makes it very hard for everybody to understand/interpret. It would be nice of you to (at least) comply with the minimum “best practices” outlined in this thread:

It’s not the first time people asked you this…