Switch in config generates warning 2023.6

Hello,

in my config I use this switch, which works fine. After update to 2023.6 I get a warning, but I don´t really understand what to do

# Schalter
switch:
  - platform: command_line
    switches:
      switch_keller_wwp:
        command_on:   "/usr/bin/curl -X GET http:/192.168.88.59/trigger:on:"
        command_off:  "/usr/bin/curl -X GET http:/192.168.88.59/trigger:off:"
        friendly_name: Schalter WWP

This is the warning

Die Konfiguration der Kommandozeile switch mittels YAML wurde verschoben.

Konsultiere die Dokumentation, um deine YAML-Konfiguration auf den Integrationsschlüssel zu verschieben, und starte Home Assistant neu, um dieses Problem zu beheben.

Maybe sb can give me advice where I should put my config now

Best regards,
Stefan

Read the release notes breaking change:

Then look at the new configuration format here

If you still need help search the forum. There are many posts on this topic.

THX, I did not realize this.

Stefan