V2 did not require commas when defining gui items such as buttons.
I highly suggest looking at the script and porting it to v3.
thank you very much for the answer, its a really good code but my programming skills are not that great.
im looking for a device and code like that for my fish tank.
can you help me to setup this code for V3 so i can use it with both sensros and 2 relays ? that will be great
But please don't consider creating a fish tank thermostat - it is not going to run 100% without ever any hiccups... so you will inevitably either kill your fish, or cause them avoidable distress and misery.
Esp_Basic can be great fun, but you wouldn't seriously consider creating a heart pacemaker with it for yourself, nor should you consider putting other life at risk with it.