ISY994: confused about entry in configuration.yaml

From the Community -> overview -> isy994 description:

**Example entry for configuration.yaml (if applicable):**

isy994:
  host: !secret isy_url
  username: !secret isy_username
  password: !secret isy_password
  isy_variables:
    sensors:
      - id: 23
        type: 2
        unit_of_measurement: '%'
        device_class: 'battery'
    binary_sensors:
      - id: 14
        type: 2
    switches:
      - id: 5
        type: 2


When installed, this will be located in '/config/custom_components/isy994', you still need to add it to your 'configuration.yaml' file. 

what’s confusing me is the last line starting with ‘When installed’. does this mean I have to have everything that is in custom_components/isy994 copied into the isy994: entry in configuration.yaml?

More explicitely, does every single item/sensor/whatever that appears in every file in:

/config/custom_components/isy994

have to be manually set up in the configuration.yaml?

I do have:

isy994:
  host: !secret isy_url
  username: !secret isy_username
  password: !secret isy_password

and that seems to make the connection and the Lovelace UI gets populated, so I’m sure I’m missing the forest for the leaves here.

A little help? Thanks in advance.

CallMeClueless

You’re installing a custom component. So, you should have a directory at the same level as your configuration.yaml with the name “custom_components”. You should drop the isy994 file into that directory. To reference the isy994 component and get it loaded up, you needed to put the entries (which you did) into configuration.yaml. Since it’s not a built-in component, when HA doesn’t find it, it’ll then search custom_components looking for it (and apparently it found it there).

If you check inside that directory, it’s probably already there…

-Rob

Thanks. the isy994 is in fact in custom_components. This is the part I didn’t know:

 Since it’s not a built-in component, when HA doesn’t find it, it’ll then search custom_components looking for it

Which I’m sure is mentioned -somewhere- in the docs. Somewhere. 8).

Thanks again.