Switch¶ Base Exampleswitch: - platform: ... #(1)! name: "My Switch" Here the plaform must be defined. Similar to ESPHome: https://esphome.io/components/switch/index.html