'Stop everything that was started.'

def tearDown(self):

    rfxtrx_core.RECEIVED_EVT_SUBSCRIBERS = []
    rfxtrx_core.RFX_DEVICES = {}
    if rfxtrx_core.RFXOBJECT:
        rfxtrx_core.RFXOBJECT.close_connection()
    self.hass.stop()
