ESPHome Weather Station LCD with Nextion 2.4 inch display and WeMos D1 Mini

The wemos was not getting any data from HA through the HA api. I removed the esphome integration and added it again, and it worked straight away.

Im getting this on esphome logs:

[01:19:25][W][nextion:177]: Nextion reported variable name invalid!
[01:19:25][W][nextion:037]: Waiting for ACK timed out!
[01:19:25][W][nextion:084]: Sending command ‘lightlamp.pic = 0’ failed because no ACK was received

all i wanna do is to update the light icon state on the nextion display… i want it to update even if i turn on the light on the physical switch… but i have no luck… :frowning:

Most nextion examples I have seen turn ack off, eg Home-Assistant-ESPHome-Weather-Station/display_weather.yaml at 402d7d194d468e0ebe31335dadb02f6d060bbcf9 · bruxy70/Home-Assistant-ESPHome-Weather-Station · GitHub

yea that would get rid of the ack error… but its not updating the picture on my display… it dont display the real status of the light if its ON or OFF… i could turn it ON or OFF by pressing the display icon though… but the icon picture is not updating according to its state…