Scripts used in the Hassbian image.
HOME | SUITES | HASSBIAN-CONFIG (CLI) | CONTRIBUTE |
SUITES | FUNCTIONS |
When adding new functions you should place that function in a logical place. Familiarize yourself with the current structure and choose a name and location that make sense.
A function should contain the following:
If the function fail to do what it should do it should return 1.
If the function require a variable to be passed to it, it can be excluded from tests by adding it here under the ‘hassbian.developer.test.package’ function under the “TESTING HASSBIAN-CONFIG FUNCTIONS” section.