Hi guys. A bit new on PLEG usage. Reading through various posts and basics guide all should be clear and I should be able to create simple scene.
I am trying to enable automated LED on behind tv screen during night time watching. I put in condition of TV setup plug power usage, if its above 90 wats LEDs should go on, is its below 80 watts it should switch off.
I do get them to turn on but they don’t turn off automatically. What I am missing? Status snapshot below.
Triggers
Name Description State Last True Last False
night Day or Night indicates Night time. true 2014-11-11 11:33:05.185 2014-11-11 11:31:59.618
Device Properties
Name Device Name Device Variable Value Last Change Previous Change
tvpower TV room plug Watts 66 2014-11-11 11:35:26.866 2014-11-11 11:35:24.856
Conditions
Name Repeat Expression State Last True Last False
tvledon No night; tvpower < 90 false 2014-11-11 11:33:10.830 2014-11-11 11:35:07.860
tvledoff No tvledon and (tvledon; tvpower > 80) false 2014-11-11 11:27:16.751 2014-11-11 11:28:59.761
Actions
Device Actions:
Immediate
Device Action Arguments
TV back LEDs SetTarget newTargetValue=0
Actions for Condition: tvledon
Device Actions:
Immediate
Device Action Arguments
TV back LEDs SetTarget newTargetValue=1