### Start Docker Container Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/scripts/README.md Command to start the Docker container named 'ha-test' if it is not running. ```bash docker start ha-test ``` -------------------------------- ### Moisture-based Irrigation Automation Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/README.md This automation triggers based on soil moisture levels, turning on an irrigation valve for a set duration when the moisture drops below a threshold. Adjust entity IDs and thresholds to match your specific setup. ```yaml alias: Smart Irrigation trigger: - platform: numeric_state entity_id: sensor.your_device_soil_moisture below: 25 condition: [] action: - service: switch.turn_on target: entity_id: switch.your_irrigation_valve - delay: "00:10:00" - service: switch.turn_off target: entity_id: switch.your_irrigation_valve ``` -------------------------------- ### GitHub Release Creation with Notes File Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/docs/releasing.md When using the GitHub CLI (`gh`), provide release notes via a file using `--notes-file` and `--body-file` flags. Avoid inlining large multi-line notes directly in shell commands. ```bash gh release create vX.Y.Z --notes-file path/to/notes.md --body-file path/to/body.md ``` -------------------------------- ### Create Release Tag Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/docs/releasing.md Use the provided script to create a release tag. This script requires a clean working tree and a corresponding changelog entry. ```bash bash scripts/create-release-tag.sh ``` -------------------------------- ### Make Script Executable Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/scripts/README.md Grant execute permissions to the pre-commit Docker testing script. This is necessary for it to run. ```bash chmod +x scripts/pre-commit-docker-test.sh ``` -------------------------------- ### Run Pre-commit Docker Test Script Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/scripts/README.md Execute the pre-commit Docker testing script manually. Ensure the script is executable. ```bash ./scripts/pre-commit-docker-test.sh ``` -------------------------------- ### Run Pre-commit Docker Test Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/docs/releasing.md Execute the pre-commit Docker test script before committing release changes. Ensure your working tree is clean. ```bash bash scripts/pre-commit-docker-test.sh ``` -------------------------------- ### Run Payload Fixture Tests (Host) Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/docs/testing.md Perform pure offline tests on the host, including fixture schema checks and static regression tests over payload fixtures. This does not depend on Home Assistant runtime. ```bash python3 tests/run_payload_fixture_tests.py ``` -------------------------------- ### HomGar MQTT Connection Success Log Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/README.md Indicates a successful connection to the HomGar MQTT service for a specific account. ```log ✅ HomGar MQTT [account] connected successfully ``` -------------------------------- ### HomGar MQTT Device Data Decoding Log Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/README.md Shows that the integration has successfully decoded model data from an MQTT message. ```log ✅ HomGar MQTT: Decoded model=HCS021FRF … fields=[…] ``` -------------------------------- ### HomGar MQTT Hub Not Found Log Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/README.md Indicates an issue where a hub was not found in the coordinator data, potentially causing communication problems. ```log ⚠️ HomGar MQTT: Hub mid=XXXXX not found in coordinator data ``` -------------------------------- ### Bypass Git Pre-commit Tests Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/scripts/README.md Use this command to bypass all Git pre-commit hooks, including the Docker testing script. Use with caution. ```bash git commit --no-verify ``` -------------------------------- ### HomGar MQTT Sensor Update Log Source: https://github.com/brettmeyerowitz/homeassistant-homgar/blob/main/README.md Confirms that a sensor has been updated with real-time data received via MQTT. ```log ✅ HomGar MQTT: Updated sensor … with real-time data ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.