'Set up things to be run when tests are started.'

def setup_method(self, method):

    self.hass = get_test_home_assistant()
    self.values = [17, 20, 15.3]
    self.count = len(self.values)
    self.min = min(self.values)
    self.max = max(self.values)
    self.mean = round((sum(self.values) / self.count), 2)
    self.mean_1_digit = round((sum(self.values) / self.count), 1)
    self.mean_4_digits = round((sum(self.values) / self.count), 4)
