A custom component designed for Home Assistant to integrate with PagerDuty, providing insights and controls over incidents and on-call schedules.
At the moment, code requires advanced-permissions option, which is only available in Business and Digital Operations plans
The plan is to add support for account-level access token later
- Monitor PagerDuty services and incidents.
- View on-call schedule of the API owner. + calendar integration
- View assigned incident counts. + their details
- Support for multiple PagerDuty teams.
- Allow notification to a service
If you have HACS installed, search for the PagerDuty Integration and install it directly from HACS. HACS will manage updates, allowing you to easily keep track of the latest versions.
- Open the directory (folder) for your HA configuration (where
configuration.yaml
is located). - Create a
custom_components
directory if it doesn't already exist. - Inside
custom_components
, create a new folder namedpagerduty
. - Download all the files from the
custom_components/pagerduty/
directory in this repository. - Place the files you downloaded into the
pagerduty
directory you created. - Restart Home Assistant.
- In the HA UI, go to "Configuration" -> "Integrations" click "+" and search for "PagerDuty".
Once installed, configure the integration with your PagerDuty API token through the Home Assistant UI.
The service ID you can get from the URL when checking the service.
The integration will create a new integration_key in PD with Home Assistant name, no need to fiddle with integration_key
service: notify.pagerduty
data:
message: "Your message here"
data:
service_id: "specific_service_id"
Contributions to the project are welcome!