This page documents a couple of points for maintaining the Home Assistant code. Most of the tasks don't need to be performed on a regular base thus the steps, used tools, or details are preserved here.
People are using various operating systems to develop components and platforms for Home Assistant. This could lead to different line endings on file. We prefer
LN. Especially Microsoft Windows tools tend to use
To fix the line separator, use
Most files don't need to the be executable.
0644 is fine.
If you update the requirements of a component/platform by updating
manifest.json, run the provided script to update the
Start a test run of Home Assistant. If that was successful, include all files in a Pull Request. Add a short summary of the changes, a sample configuration entry, details about the tests you performed to ensure the update works, and other useful information to the description.
nexton a regular base.
- Optimize the images.