'Stop everything that was started.'

def teardown_method(self, _):

    self.hass.stop()
    try:
        os.remove(self.hass.config.path(device_tracker.YAML_DEVICES))
    except FileNotFoundError:
        pass
