Status setupbox based on port status (with netcat)

Hi @Cripplin, a command in a terminal is not the same in ha.
Take a look here, maybe something helps.