This integration adds the possibility of sending SMS via Telnyx.
Clone the repository to a folder called "custom_components" in your Home
Assistant root directory, e.g. git clone https://github.com/vrelk/hacs ~/.homeassistant/custom_components/telnyx
Via HACS
- Navigate to HACS -> Integrations -> Custom repositories -> Add
- Set Repository to https://github.com/vrelk/hacs_telnyx
- Set Type to Integration
- Confirm form submission and the repository should be appended to the list
Add to configuration.yaml
- usually in ~/.homeassistant/
:
notify:
- platform: telnyx
sender: +13115552368 # must be a telnyx number in the form +13115552368
name: telnyx_sms
api_key: INSERT_YOUR_TELNYX_API_KEY_HERE
recipient: +13115552367 # or specify multiple numbers e.g. [+13115552367, +13115552368]
Check out the example on how to configure a service call on automation.