Port Monitoring with TCP Sensor in HA

Hi there
Was anyone able to Monitor a Port with the TCP Integration in HA?
I tried something like this:

binary_sensor:
  - platform: tcp
    name: "webtest"
    host: 192.168.2.2
    port: 11111
    payload: ""
    scan_interval: 60
    timeout: 8
    value_on: ""

Also I tried with an Value Template:
value_template: “{{ ‘true’ if value == ‘’ else ‘false’ }}”

But nothing gives me the result i wanted.
The Sensor should be on if the TCP connection is established else the sensor should go off.

Thanks in adavance