Open patrik-sp opened 4 years ago
I am getting JSON errors when trying to run scripts, but not when calling services:
23.38.08/E FIRE PLUGIN: Call Service / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 7 bundle keys 23.38.08/E Call Service: plugin comp: com.markadamson.taskerplugin.homeassistant/com.markadamson.taskerplugin.homeassistant.receiver.FireReceiver 23.38.08/E add wait type Plugin1 time 10 23.38.08/E add wait type Plugin1 done 23.38.08/E add wait task 23.38.09/E Error: 2 23.38.09/E JSON Error
Hi,
I have the same issue, this gives JSOn error
{ "entity_id": "remote.hubbabubba", "data": { "activity": "Watch TV" } }
Hi all,
I also have the same issue, but only with variable (not with an arbitrary int value).
My JSON :
{"entity_id":"input_number.lucas_battery","value": "%battery_level"}
Did anyone solve this? I am also getting JSON errors with valid JSON.
Hi,
I have the same issue, this gives JSOn error
{ "entity_id": "remote.hubbabubba", "data": { "activity": "Watch TV" } }
Had the same problem, thing is you don't need the "data" part. Try this:
{ "entity_id": "remote.hubbabubba", "activity": "Watch TV" }
This JSON code gives me JSON error when I test the service call which is strange since the JSON lints ok. Also if I disregard the JSON error and proceeds to run the complete task, the process slows down for this step and then gives a long error log message.
{"entity_id":"input_datetime.patriks_phone_next_alarm_date_and_time","date":"%year-%month-%day","time":"%hour:%minute:00"}