### Run tests with make test Source: https://github.com/alexdlaird/ha-hearth/blob/develop/CONTRIBUTING.rst Execute tests locally against the current Home Assistant version. Use the PYTHON_BIN variable if python3.14 is not the default. ```bash make test ``` ```bash make test PYTHON_BIN=python3.14 ``` -------------------------------- ### Enable debug logging for ha-hearth Source: https://github.com/alexdlaird/ha-hearth/blob/develop/README.md Add this configuration to your Home Assistant configuration file to enable debug logging for the integration. This provides more detail when troubleshooting issues. ```yaml logger: logs: custom_components.hearth: debug ``` -------------------------------- ### Run tests with specific HA_TEST_HARNESS version Source: https://github.com/alexdlaird/ha-hearth/blob/develop/CONTRIBUTING.rst Test against an older Home Assistant version by specifying the pytest-homeassistant-custom-component release. ```bash make test HA_TEST_HARNESS=0.13.298 ``` -------------------------------- ### Run linting checks with make check Source: https://github.com/alexdlaird/ha-hearth/blob/develop/CONTRIBUTING.rst Ensure no linting errors were introduced in the codebase. ```bash make check ``` -------------------------------- ### Notify when the bridge needs attention Source: https://github.com/alexdlaird/ha-hearth/blob/develop/docs/core/hearth.markdown This YAML configuration triggers a notification when the Hearth bridge status is not 'ok' or 'slowed_down' for 30 minutes. ```yaml alias: "Hearth bridge needs attention" triggers: - trigger: state entity_id: sensor.hearth_bridge_status not_to: - ok - slowed_down for: minutes: 30 actions: - action: notify.notify data: message: "Hearth's bridge: {{ states('sensor.hearth_bridge_status') }}" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.