### Example Script: Show Usage Help Source: https://github.com/home-assistant-libs/aioshelly/blob/main/README.md Display the help message for the example script, showing available command-line options. ```bash python3 tools/example.py -h ``` -------------------------------- ### Install aioshelly Source: https://github.com/home-assistant-libs/aioshelly/blob/main/README.md Install the aioshelly library using pip. ```bash pip install aioshelly ``` -------------------------------- ### Install aioshelly from Source Source: https://github.com/home-assistant-libs/aioshelly/blob/main/README.md Install the aioshelly library from source by running the command inside the project folder. ```bash pip install --upgrade . ``` -------------------------------- ### Example Script: Connect to all devices Source: https://github.com/home-assistant-libs/aioshelly/blob/main/README.md Connect to all Shelly devices listed in `devices.json` simultaneously and print their status. Requires the `-d` flag. ```bash python3 tools/example.py -d -i ``` -------------------------------- ### Install Development Requirements Source: https://github.com/home-assistant-libs/aioshelly/blob/main/README.md Install development and linting requirements for aioshelly from source. ```bash pip install .[dev] .[lint] ``` -------------------------------- ### Example Script: Connect to a single device Source: https://github.com/home-assistant-libs/aioshelly/blob/main/README.md Connect to a single Shelly device and print its status upon state changes. Requires IP address, optionally username and password. ```bash python3 tools/example.py -ip [-u ] [-p