Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions source/_docs/configuration/packages.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,24 @@ homeassistant:
This uses the concept splitting the configuration and will include all files in a directory with the keys representing the filenames.
See the documentation about [splitting the configuration](/docs/configuration/splitting_configuration/) for more information about `!include_dir_named` and other include statements that might be helpful. The benefit of this approach is to pull all configurations required to integrate a system, into one file, rather than across several.

The following example allows to have subfolders in the `packages` folder, which could make managing multiple packages easier by grouping:

```yaml
homeassistant:
packages: !include_dir_merge_named packages/
```

and in `packages/subsystem1/functionality1.yaml`:

```yaml
subsystem1_functionality1:
input_boolean:
...
binary_sensor:
...
automation:
```

### Customizing entities with packages

It is possible to [customize entities](/docs/configuration/customizing-devices/) within packages. Just create your customization entries under:
Expand Down