Documentation on binary sensor for platform ping

While this works perfectly:

  - platform: ping
    name: Internet_connection
    scan_interval: 60

I wonder if this is still up to date, given that I’ve read about new syntax for sensors, and most of my other sensors are like this:

  - platform: systemmonitor
      - type: processor_use
      - type: processor_temperature
      - type: load_15m
      - type: disk_use_percent

I tried to search for documentation on this, but it seems I don’t search for the right terms. Could someone please point me to the correct documentation URL for the binary sensor using ping?

Binary sensor is different than sensor.
The first one holds on or off values.
The latter one holds numerical values.

Moreover, they both follow new format, nothing interesting for me. Maybe i might have missed the exact question.

  platform: *integration*

Which leads here: