Sure, I am using M5 atom lite as a platfrom with these sensors and I have programmed them with ESPHome to run on Home Assistant . I am using the latest version of Home Assistant and ESPHome but if needed, I can provide the exact version.
The Yaml file used to program the M5 Atom is :
esphome:
name: bedroom
esp32:
board: m5stack-atom
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "eXh5TvtGe1ybPAPZThCQUcGWycF4kIzyKp0epWHf4qM="
ota:
password: "fceb4ac977dbfbe73a80eaf8bbd06678"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Bedroom Fallback Hotspot"
password: "aC0PYJyt1wXR"
captive_portal:
i2c:
sda: 26
scl: 32
scan: true
id: bus_a
sensor:
- platform: sht3xd
i2c_id: bus_a
temperature:
name: "Bedroom Temperature"
humidity:
name: "Bedroom Humidity"
address: 0x44
update_interval: 60s
Aside from these, I also use a Shelly Plus 1 Relay with firmware : 20221206-141227/0.12.0-gafc2404
Warm Regards,
Misujr