'Test the setting of the target temperature with range.'

def test_set_target_temp_range(self):

    state = self.hass.states.get(ENTITY_ECOBEE)
    self.assertEqual(None, state.attributes.get('temperature'))
    self.assertEqual(21.0, state.attributes.get('target_temp_low'))
    self.assertEqual(24.0, state.attributes.get('target_temp_high'))
    climate.set_temperature(self.hass, target_temp_high=25, target_temp_low=20, entity_id=ENTITY_ECOBEE)
    self.hass.block_till_done()
    state = self.hass.states.get(ENTITY_ECOBEE)
    self.assertEqual(None, state.attributes.get('temperature'))
    self.assertEqual(20.0, state.attributes.get('target_temp_low'))
    self.assertEqual(25.0, state.attributes.get('target_temp_high'))
