'Setup things to be run when tests are started.'

def setUp(self):

    self.hass = get_test_home_assistant()
    platform = loader.get_component('switch.test')
    platform.init()
    (self.switch_1, self.switch_2, self.switch_3) = platform.DEVICES
