Hi
Thanks, for your feedback.
@mrf68: This is the last solution tested and she works fine. Thank
@jan_nl: My commandarray type " commandArray['UpdateDevice'] = 'idx|0|Present''" for changing the value of the virtual text sensor is good, when a script who use this command is running, the value ...
Search found 2 matches
- Wednesday 22 July 2015 15:56
- Forum: LUA
- Topic: Lua: Trigger a virtual text sensor
- Replies: 7
- Views: 4290
- Tuesday 21 July 2015 22:09
- Forum: LUA
- Topic: Lua: Trigger a virtual text sensor
- Replies: 7
- Views: 4290
Lua: Trigger a virtual text sensor
Hi everybody,
I have a virtual text sensor (Home_Context ) that displays the status of the house ( Vacant or Present ), and try to trigger a script on his change of value.
With an API call, the trigger works, but with a change initiate in a lua script with the command " commandArray['UpdateDevice ...
I have a virtual text sensor (Home_Context ) that displays the status of the house ( Vacant or Present ), and try to trigger a script on his change of value.
With an API call, the trigger works, but with a change initiate in a lua script with the command " commandArray['UpdateDevice ...