I would like to integrate a simple monochromatic LED (like this: https://www.amazon.com/eBoot-Pieces-Emitting-Diodes-Assorted/dp/B06XPV4CSH – of course attached with a 200 ohm resistor) in my ESPHome to show the status (via MQTT?) of the alarm in homeassistant (actually is just the status of an automation!)… any idea of what can I do?
Thanks
seems simple enough… You dont need MQTT because esphome already has a native integration with HA. Using a esp8266 and something like this as the code (see the docs how to use the wizard, then add the led specific configuration):