def setUp(self):
    'Initialize a test Home Assistant instance.'
    self.hass = get_test_home_assistant()
Initialize a test Home Assistant instance.
def setUp(self):
    
    self.hass = get_test_home_assistant()