Sonoff POW used to limit ON time

Oh no, sorry. I should have said… neither work to control the lamp or the Input Boolean. But the first one shows as an automation whereas the second one causes errors.

I think I might have cracked it!!
Probably not very elegant but seems to work.

  • id: ‘1543524530’
    alias: Scrooge
    hide_entity: false
    initial_state: ‘on’
    trigger:
    • entity_id: sensor.pow_power
      platform: numeric_state
      above: ‘8’
      for:
      hours: 0
      minutes: 0
      seconds: 30
      action:
      service: input_boolean.turn_on
      entity_id: input_boolean.shower_test

I’ll add in the the turning off the shower pump part and hopefully I should be all set.
Thank you Will for your help. It is genuinely appreciated.
Mark

1 Like

Glad you got there in the end.
It would help if the documentation was up to date on the Wiki!