Skip to content

How to Test & Debug

Elahd Bar-Shai edited this page Jan 6, 2023 · 14 revisions

Below are instructions for performing various testing and debugging actions to help developers debug issues.

Install integration development version

  1. In Home Assistant, go to HACS and click on the Alarm.com integration. This will open up the description page for the Alarm.com integration.

  2. Click on the three dots on the top right, then click on "Redownload".

  3. From the "Select version" menu, select "master", then click download.

  4. Restart Home Assistant.

Get debug data for a single entity

  1. In Home Assistant, go to Settings > Devices & Services > Devices. You'll see a list of all of your devices.

  2. Click on the device for which you want to get debug information. That will take you to the device's information page.

  3. Click on "PRESS" for the device's Debug entity:

  4. Go to Settings > System > Logs and click on the debug log for your device:

  5. Use the copy button in the log entry's modal to copy and paste the required information into your GitHub comment. Please don't post a screenshot!

Enable code debugging

Adding the following to Home Assistant's configuration.yaml file, then reboot:

logger:
  default: warn
  logs:
    custom_components.alarmdotcom: debug
    pyalarmdotcomajax: debug
Clone this wiki locally