Help with power conditioned scene

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

It looks as though your are confusing Sequence expressions with Logical ones. Sequence expressions are concerned only with times. Local expressions care about states. I also think you have your comparisons backwards.

First add a Trigger that reflects the state of your TV LED switch - called, say, tvledison. Then change your Conditions as below:

Conditions
tvledon No night and (tvpower > 90)
tvledoff No tvledison and (tvpower < 80)

This helped. Now works as it should.
Thanks for help Rex. I am learning still with these things but getting there :).