alarmo icon indicating copy to clipboard operation
alarmo copied to clipboard

Can't set phone number when using twilio integration as notification

Open krustophenia opened this issue 2 years ago • 2 comments

Alarmo Version

v1.9.4

HA Version

2022.8.4

Bug description

When trying to use twilio integration as a new notification and setting a phone number using yaml, it returns an error. I'm not sure if that's a bug or should be moved to a feature request in order to add extra keys.

Steps to reproduce

When I try to configure an action when the alarm is triggered, I try to configure it using yaml like this:

service: notify.twilio_calls
service_data:
  message: "test"
  title: "test"
  target: +XXXXXXXXXXX

When I click on try it, it successfully calls me on my phone but when I try to save it says:

Something went wrong!
Message format incorrect: extra keys not allowed @ data['actions'][0]['service_data']

Response error: 400

Please [report](https://github.com/nielsfaber/alarmo/issues) the bug.

Relevant log output

No response

krustophenia avatar Aug 15 '22 10:08 krustophenia

In alarmo use data instead of service_data. I think you have updated to v1.9.5 but the alarmo panel still shows v1.9.4 due to a caching issue. Try clearing the browser cache.

nielsfaber avatar Aug 21 '22 04:08 nielsfaber

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 21 '22 00:09 github-actions[bot]