Automation script does not turn on TP-Link HS110

Hello there! i just started and wanted to do something with my TP-Link HS110
I can see him in Home-Assistant and in developer tools ‘State’ select him and turn him on and off.

But when a Automation is run and should turn him on it doesn’t turn on, it does not change state at all.
I sure the Trigger works correctly since I let him notify me on discord.

  • id: ‘1548337092999’
    alias: Lights stairs
    • entity_id: binary_sensor.motion_stairs
      for: ‘5’
      from: ‘off’
      platform: state
      to: ‘on’
      condition: []
    • condition: state
      entity_id: switch.stairs
      state: ‘on’

Anyone an idea?


for: '00:05:00'

and please use code blocks per the note at the top of the page

Did the change no effect, in sure its not the trigger its fault. Im 100% sure it triggers.

Just the TPLink does not react on the state change

your action doesn’t look correct but who knows as you still haven’t used code blocks!

heres a basic one of mine

- id: '1523937971401'
  alias: Toothbrush On
  - platform: time
    at: '08:00:00'
  condition: []
  - service: switch.turn_on
      entity_id: switch.sonoff23110

Thanks, got it working now by calling a service as action indead of using a condition to change the state. :slight_smile:
Still strange that the condition wouldn’t work :open_mouth:

Your condition will never change the state