[DEPRECATED] Kasa Plug, Switch, and Bulb integration

Screenshot up above in this post. Super simple rule. If the switch turns off, wait 5 seconds and turn it on. It's made in Basic Rules.

Go to the device's edit page in Hubitat and turn on the device. See if the value of switch changes to "on".

Yes, it does so. It also immediately turns off if I click off or a rule turns it off. This mismatch is what I was hoping would make my rule work even if a command gets missed. What could happen is

  1. TV turns on. Sometime in less than 1 minute HE should realize this.
  2. Sends an off command to the Air Purifier. The device in HE should report off at this time. (this part never fails)
  3. The rule triggers and waits 5 seconds; sends an on command. The device in HE should now say on.
  4. For whatever reason, the plug didn't get the on command. When it's polled for its energy usage again, the switch should revert back to off.
  5. This should trigger step 3 and 4 to repeat until the switch is actually on.

So it seems to be an issue unrelated to your app/driver. I think I'm going to make a separate thread about this issue.

EDIT: Thread made