Each hour check if motion has been detected and turn off lights

1
Connect

Make sure lights in unoccupied rooms are not left on.

If

Date & Time icon
Every hour at

This Trigger fires once an hour at :00, :15, :30, or :45 minutes past the hour.

With

History of motion sensor event icon
Query

This query returns a list of when motion sensor state changed

When

Filter code

Then

TP-Link Kasa icon
Turn off

This action will turn off a selected device.

Fewer details

Discover more time saving integrations for TP-Link Kasa and YoLink