====== Please remove the `platform` key ======
''Please remove the `platform` key from the [esphome] block and use the correct platform component.''
From:
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
change to:
esphome:
name: ${plug_name}
esp8266:
board: esp01_1m