I had Twilio working but now I am getting the following “error” in my home-assistant.log:
2018-05-14 19:08:47 DEBUG (SyncWorker_10) [homeassistant.util.json] JSON file not found: /usr/lib/python3.6/site-packages/homeassistant/components/.translations/twilio.en.json
If I try to use my notify service I get:
2018-05-14 19:16:01 WARNING (MainThread) [homeassistant.core] Unable to find service notify/sms
My twilio and notify setup in my configuration.yaml looks something like the following. The issue may have happened when I decided to clean up my security by moving everything to my secrets file like I should have in the first place but anyway.
twilio:
account_sid: 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token: 'XXXXXXXXXXXXXXXXXXXXXXXXXX'
# account_sid: !secret twilio_account_sid
# auth_token: !secret twilio_auth_token
notify:
- name: sms
platform: twilio_sms
from_number: +18885551212
I am guessing my issue is the missing JSON file more than anything but I am not sure how to replace it.
The load for twilio looks to have worked in homeassistant.log:
2018-05-14 19:08:08 INFO (MainThread) [homeassistant.loader] Loaded twilio from homeassistant.components.twilio 2018-05-14 19:08:29 INFO (MainThread) [homeassistant.setup] Setting up twilio 2018-05-14 19:08:30 INFO (MainThread) [homeassistant.setup] Setup of domain twilio took 1.2 seconds. 2018-05-14 19:08:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=twilio>
Anyone have any ideas on a fix? Do I just need to find and replace the JSON file?
Thanks!