PCA9554 GPIO expander component submission to esphome github problem with script/

I am trying to submit a new component on github.com/esphome. It is a PCA9554 component which I’m using in one of my projects and I’d like to make it available for use by the community.

One of the steps required for successful code submission is to run a script called build_codeowners.py.

When I do so, I this error:


srodgers@steverod ~/projects/esphome/esphome-pca9554 $ script/build_codeowners.py 
Cannot find component pca9554. Make sure current path is pip installed ESPHome

What is meant by “Make sure current path is pip installed ESPHome” and what steps need to be taken to install what is required?

This is a new directory in esphome/components with the following files in it:

srodgers@steverod ~/projects/esphome/esphome-pca9554 $ ls esphome/components/pca9554/
__init__.py  pca9554.cpp  pca9554.h

Is this is the right forum for these kinds of questions?

You are more likely to find an answer on discord.

Why am I getting the same issue when not changing anything about the pca9554 :smiley: :smiley: