Trigger support added

Added trigger support for cleaning state and ping status