Kasa integration - physical vs digital

I am using the built-in Kasa integration and everything works fine.

I am trying to get a physical event on an HS200, but all events come in as digital, whether triggered from the hub or not. I was expecting a behaviour similar to the Lutron integration (where it guesses "physical" for any even not originating from the hub).

Is my expectation valid ?

Bumping this question. Also tried with KS200M, HS220, KS230.

@djgutheinz any thoughts?

I don't see any way to differentiate the two.
This is from an HS200:

  • The two events at the bottom were triggered from the hub (digital).
  • The event at the top was triggered with a manual flick of the switch.

They look identical to me.

Can not currently do this. To be able to do this would require two separate parse methods - one for the on/off command and one for the poll command.

Many drivers do it simply by setting a state variable when the on/off commands are issued from the hub, then you can assume the next state change is digital. Anything else defaults to physical.

3 Likes