def setUp(self):
    'Initialize values for this testcase class.'
    self.hass = get_test_home_assistant()
    self.config = copy.deepcopy(VALID_CONFIG)
Initialize values for this testcase class.
def setUp(self):
    
    self.hass = get_test_home_assistant()
    self.config = copy.deepcopy(VALID_CONFIG)