I am trying to route this hs.speak immediate script action through tasker to device Mike S6.
I have tried this:
but get this error:
Jul-13 13:19:27 Error Running script(2) &hs.speak("The current temperature is " & hs.devicevalueex(14) & " degrees" & " and " & hs.devicestring(341) & " and the forecast is " & hs.devicestring(350) & " with a minimum temperature of " & hs.devicevalueex(352) & " degrees and a maximum temperature of " & hs.devicevalueex(351) & " degrees", "Tasker:Mike S6"), init error: Class doesn't support Automation: 'hs.speak'
If I just send it without "Tasker:Mike S6" it works but I want to be able to send it to a specific tasker device
I have tried this:
Code:
&hs.speak("The current temperature is " & hs.devicevalueex(14) & " degrees" & " and " & hs.devicestring(341) & " and the forecast is " & hs.devicestring(350) & " with a minimum temperature of " & hs.devicevalueex(352) & " degrees and a maximum temperature of " & hs.devicevalueex(351) & " degrees", "Tasker:Mike S6")
Jul-13 13:19:27 Error Running script(2) &hs.speak("The current temperature is " & hs.devicevalueex(14) & " degrees" & " and " & hs.devicestring(341) & " and the forecast is " & hs.devicestring(350) & " with a minimum temperature of " & hs.devicevalueex(352) & " degrees and a maximum temperature of " & hs.devicevalueex(351) & " degrees", "Tasker:Mike S6"), init error: Class doesn't support Automation: 'hs.speak'
If I just send it without "Tasker:Mike S6" it works but I want to be able to send it to a specific tasker device
Comment