Migrate twilio webhooks to the webhook component (#17715)

* Migrate twilio webhooks to the webhook component

* Fix typos in twilio

* Mock out twilio in the tests

* Lint

* Fix regression in twilio response
This commit is contained in:
Rohan Kapoor authored and Paulus Schoutsen committed 2018-10-25 09:46:22 +02:00
1 parent 599390d985
commit 5024a80d61
8 files changed
+155 -59

No files matched your search

@@ -0,0 +1,18 @@
{
"config": {
"title": "Twilio",
"step": {
"user": {
"title": "Set up the Twilio Webhook",
"description": "Are you sure you want to set up Twilio?"
}
},
"abort": {
"one_instance_allowed": "Only a single instance is necessary.",
"not_internet_accessible": "Your Home Assistant instance needs to be accessible from the internet to receive Twilio messages."
},
"create_entry": {
"default": "To send events to Home Assistant, you will need to setup [Webhooks with Twilio]({twilio_url}).\n\nFill in the following info:\n\n- URL: `{webhook_url}`\n- Method: POST\n- Content Type: application/x-www-form-urlencoded\n\nSee [the documentation]({docs_url}) on how to configure automations to handle incoming data."
}
}
}