This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Function to clone the jswent/hass-crestron-component repository and extract the component folder to be used | |
# in Home Assistant's `custom_components` folder. Optionally override default arguments to duplicate integrations | |
# with a new domain and name. | |
# | |
# Usage: | |
# clone_crestron [new_directory_name] [git_url] [subdirectory_path] | |
# | |
# Arguments: | |
# new_directory_name Optional. The name for the new HA component folder. Defaults to "crestron". | |
# git_url The URL of the git repository to clone. Defaults to my component. |