I'd like to show wifi status not as numbers but as off / on / enabled
State in numbers being as per:
#NWSTATE# WiFi State (0 disabled, 1 enabled, 2 connected)
So far I've manage to code as follows for off or on:
how do I modify the code to show the 3rd state of connected please?