I’m running ESPHome (v 2021.11.3) on HA OS 7.2 (core: v2021.12.10; supervisor: 2022.01.1) and trying to flash ESPHome on a Sonoff NSPanel. One of the example yaml config files I’ve found has the following defined in it:
However, when I try to use that in my own YAML config, I get an error from ESPHome stating:
Component not found: Button
Googling doesn’t seem to point to much other than “make sure you’re updated to the latest ESPHome”, which should be automatic, if I understand how the HA update process works. Any suggestions on where/how to fix this? Is it a bug in ESPHome that’s being fixed? Or, is my HA integration whacked?
The button component was introduced in ESPHome v2021.12.0. Current version ESPHome is v2022.1.2. So you have to update your add-on to use the button component.
Go to “configuration”, “add-on”, “ESPHome” and check if “Auto update” is enabled. Eventually you can uninstall the old version and install the latest version. Uninstalling the old version does not remove your current yaml files, so they are save. However it is always good to have a recent backup.
Thank you, thank you! Turns out the community addons store had somehow gotten cheezed in one of the recent updates and supervisor was never going out and checking for add-on updates! Once I got that sorted out, esphome updated just fine and now I have button support.
Could you elaborate as to how you corrected the “cheezed addon store”? My ESPhome is at v2021.11.4 and the auto update is enabled. My HA core and OS are up to date. I need to get my ESPhome updated so resolve the same “component not found” issue you were having. thanks in advance.