mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Allow both http and https URLs
This commit is contained in:
parent
379ae11405
commit
b7bb31cb95
@ -59,7 +59,7 @@ class TwilioCallNotificationService(BaseNotificationService):
|
||||
_LOGGER.info("At least 1 target is required")
|
||||
return
|
||||
|
||||
if message.startswith("http://"):
|
||||
if message.startswith(("http://", "https://")):
|
||||
twimlet_url = message
|
||||
else:
|
||||
twimlet_url = "http://twimlets.com/message?Message="
|
||||
|
Loading…
x
Reference in New Issue
Block a user