I got it to work (while retaining the log) with this configuration:
esphome:
name: air_qual
platform: ESP8266
board: nodemcuv2
wifi:
ssid: "*****"
password: !secret ****_pwd
manual_ip:
static_ip: 192.168.1.230
gateway: 192.168.1.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Air Qual Fallback Hotspot"
password: "*********
captive_portal:
# Enable logging
logger:
hardware_uart: UART1
# Enable Home Assistant API
api:
ota:
uart:
rx_pin: RX
tx_pin: TX
baud_rate: 9600
sensor:
- platform: sds011
pm_2_5:
name: "Particulate Matter <2.5µm Concentration"
pm_10_0:
name: "Particulate Matter <10.0µm Concentration"
update_interval: 5min
Thanks for the tip @CeeCee