tellstick-plugin-mqtt-hass icon indicating copy to clipboard operation
tellstick-plugin-mqtt-hass copied to clipboard

Only subscribe to "new" input

Open PontusEkengren opened this issue 2 years ago • 0 comments

In my use case (433-remote control) I am only interested in "new" incoming signals, not existing states.

Therefor I wonder if functions like @slot('deviceStateChanged') might be suitable to publish to two topics, one to self.publishState(haDev) and another to self.publishNewState(haDev) for subscribers only interested in changes to the value.

Do you find this reasonable? Is this functionality already in place and I have failed to to spot it?

image

Thank you for this plugin by the way!

PontusEkengren avatar Jul 22 '22 16:07 PontusEkengren